-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintcache
1 lines (1 loc) · 23.2 KB
/
.eslintcache
1
[{"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\index.js":"1","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\jumbotron\\index.js":"2","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\App.js":"3","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\jumbotron\\styles\\jumbotron.js":"4","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\global-styles.js":"5","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\containers\\jumbotron.js":"6","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\index.js":"7","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\footer\\index.js":"8","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\footer\\styles\\footer.js":"9","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\containers\\footer.js":"10","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\accordion\\index.js":"11","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\accordion\\styles\\accordion.js":"12","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\containers\\faqs.js":"13","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\opt-form\\index.js":"14","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\opt-form\\styles\\opt-form.js":"15","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\constants\\routes.js":"16","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\pages\\home.js":"17","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\pages\\index.js":"18","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\pages\\signin.js":"19","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\pages\\signup.js":"20","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\pages\\browse.js":"21","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\containers\\header.js":"22","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\header\\index.js":"23","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\header\\styles\\header.js":"24","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\feature\\index.js":"25","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\feature\\styles\\feature.js":"26","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\lib\\firebase.prod.js":"27","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\seed.js":"28","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\context\\firebase.js":"29","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\form\\index.js":"30","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\form\\styles\\form.js":"31","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\helpers\\routes.js":"32","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\hooks\\index.js":"33","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\hooks\\use-auth-listener.js":"34","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\hooks\\use-content.js":"35","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\utils\\selection-filter.js":"36","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\containers\\browse.js":"37","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\containers\\profile.js":"38","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\profiles\\index.js":"39","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\profiles\\styles\\profiles.js":"40","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\loading\\index.js":"41","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\loading\\styles\\loading.js":"42","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\card\\index.js":"43","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\card\\styles\\card.js":"44"},{"size":454,"mtime":1612194162905,"results":"45","hashOfConfig":"46"},{"size":900,"mtime":1611956244292,"results":"47","hashOfConfig":"46"},{"size":1091,"mtime":1612212064532,"results":"48","hashOfConfig":"46"},{"size":1224,"mtime":1612027238759,"results":"49","hashOfConfig":"46"},{"size":2129,"mtime":1612472753194,"results":"50","hashOfConfig":"46"},{"size":701,"mtime":1612028111069,"results":"51","hashOfConfig":"46"},{"size":477,"mtime":1612440609764,"results":"52","hashOfConfig":"46"},{"size":933,"mtime":1612028706658,"results":"53","hashOfConfig":"46"},{"size":1006,"mtime":1612035351191,"results":"54","hashOfConfig":"46"},{"size":1596,"mtime":1612035468927,"results":"55","hashOfConfig":"46"},{"size":1464,"mtime":1612040640500,"results":"56","hashOfConfig":"46"},{"size":1533,"mtime":1612121233798,"results":"57","hashOfConfig":"46"},{"size":775,"mtime":1612123862991,"results":"58","hashOfConfig":"46"},{"size":767,"mtime":1612205944123,"results":"59","hashOfConfig":"46"},{"size":1340,"mtime":1612205944124,"results":"60","hashOfConfig":"46"},{"size":126,"mtime":1612116235066,"results":"61","hashOfConfig":"46"},{"size":1046,"mtime":1612205944127,"results":"62","hashOfConfig":"46"},{"size":180,"mtime":1612116994110,"results":"63","hashOfConfig":"46"},{"size":2281,"mtime":1612205944128,"results":"64","hashOfConfig":"46"},{"size":2782,"mtime":1612212064551,"results":"65","hashOfConfig":"46"},{"size":420,"mtime":1612279935106,"results":"66","hashOfConfig":"46"},{"size":451,"mtime":1612212064535,"results":"67","hashOfConfig":"46"},{"size":2836,"mtime":1612472165114,"results":"68","hashOfConfig":"46"},{"size":5491,"mtime":1612472421590,"results":"69","hashOfConfig":"46"},{"size":493,"mtime":1612120680622,"results":"70","hashOfConfig":"46"},{"size":592,"mtime":1612122596035,"results":"71","hashOfConfig":"46"},{"size":477,"mtime":1612205944125,"results":"72","hashOfConfig":"46"},{"size":19437,"mtime":1612188235440,"results":"73","hashOfConfig":"46"},{"size":93,"mtime":1612194136732,"results":"74","hashOfConfig":"46"},{"size":1212,"mtime":1612205944119,"results":"75","hashOfConfig":"46"},{"size":1705,"mtime":1612205944120,"results":"76","hashOfConfig":"46"},{"size":774,"mtime":1612212064541,"results":"77","hashOfConfig":"46"},{"size":121,"mtime":1612212705654,"results":"78","hashOfConfig":"46"},{"size":683,"mtime":1612212064549,"results":"79","hashOfConfig":"46"},{"size":658,"mtime":1612212626814,"results":"80","hashOfConfig":"46"},{"size":1228,"mtime":1612275012582,"results":"81","hashOfConfig":"46"},{"size":3984,"mtime":1612471896351,"results":"82","hashOfConfig":"46"},{"size":838,"mtime":1612282490412,"results":"83","hashOfConfig":"46"},{"size":914,"mtime":1612281747296,"results":"84","hashOfConfig":"46"},{"size":1188,"mtime":1612378273646,"results":"85","hashOfConfig":"46"},{"size":387,"mtime":1612284337535,"results":"86","hashOfConfig":"46"},{"size":1571,"mtime":1612284183712,"results":"87","hashOfConfig":"46"},{"size":2910,"mtime":1612461728408,"results":"88","hashOfConfig":"46"},{"size":4060,"mtime":1612472938739,"results":"89","hashOfConfig":"46"},{"filePath":"90","messages":"91","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},"fp1bv2",{"filePath":"93","messages":"94","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"95","messages":"96","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"97","messages":"98","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"99","messages":"100","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"101","messages":"102","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"103","messages":"104","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"105","messages":"106","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"107","usedDeprecatedRules":"92"},{"filePath":"108","messages":"109","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"110","messages":"111","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"112","messages":"113","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"114","usedDeprecatedRules":"92"},{"filePath":"115","messages":"116","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"117","messages":"118","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"119","messages":"120","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"121","messages":"122","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"123","messages":"124","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"125","messages":"126","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"127","messages":"128","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"129","messages":"130","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"131","messages":"132","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"133","messages":"134","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"135","messages":"136","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"137","messages":"138","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"139","messages":"140","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"141","messages":"142","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"143","messages":"144","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"145","messages":"146","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"147","messages":"148","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"149","messages":"150","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"151","messages":"152","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"153","messages":"154","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"155","messages":"156","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"157","messages":"158","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"159","messages":"160","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"161","usedDeprecatedRules":"92"},{"filePath":"162","messages":"163","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"164","usedDeprecatedRules":"92"},{"filePath":"165","messages":"166","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"167","messages":"168","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"169","messages":"170","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"171","messages":"172","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"173","messages":"174","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"175","messages":"176","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"177","messages":"178","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"92"},{"filePath":"179","messages":"180","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"181","messages":"182","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\index.js",[],["183","184"],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\jumbotron\\index.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\App.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\jumbotron\\styles\\jumbotron.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\global-styles.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\containers\\jumbotron.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\index.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\footer\\index.js",["185"],"import React from 'react'\r\nimport { Container, Row, Column, Link, Title, Text, Break } from './styles/footer'\r\n\r\nexport default function Footer({ children, ...restProps }){\r\n return (\r\n <Container {...restProps}>\r\n {children}\r\n </Container>\r\n )\r\n}\r\n\r\nFooter.Row = function({ children, ...restProps }) {\r\n return <Row { ...restProps }>{children}</Row>\r\n}\r\n\r\nFooter.Column = function({ children, ...restProps }) {\r\n return <Column { ...restProps }>{children}</Column>\r\n}\r\n\r\nFooter.Link = function({ children, ...restProps }) {\r\n return <Link { ...restProps }>{children}</Link>\r\n}\r\n\r\nFooter.Title = function({ children, ...restProps }) {\r\n return <Title { ...restProps }>{children}</Title>\r\n}\r\n\r\nFooter.Text = function({ children, ...restProps }) {\r\n return <Title { ...restProps }>{children}</Title>\r\n}\r\n\r\nFooter.Break = function({ children, ...restProps }) {\r\n return <Break { ...restProps }>{children}</Break>\r\n}\r\n","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\footer\\styles\\footer.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\containers\\footer.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\accordion\\index.js",["186"],"import React, { useState, useContext, createContext } from 'react'\r\nimport { Container, Title, Item, Inner, Header, Body } from './styles/accordion'\r\n\r\nconst ToggleContext = createContext()\r\n\r\nexport default function Accordion ({ children, ...restProps }) {\r\n return (\r\n <Container {...restProps}>\r\n <Inner>{children}</Inner>\r\n </Container>\r\n )\r\n}\r\n\r\nAccordion.Title = function AccordionTitle({ children, ...restProps }) {\r\n return <Title {...restProps}>{children}</Title>\r\n}\r\n\r\nAccordion.Item = function AccordionItem({ children, ...restProps }) {\r\n const [toggleShow, setToggleShow] = useState(false)\r\n\r\n return (\r\n <ToggleContext.Provider value={{ toggleShow, setToggleShow }}>\r\n <Item {...restProps}>{children}</Item>\r\n </ToggleContext.Provider>\r\n )\r\n}\r\n\r\nAccordion.Header = function AccordionHeader({ children, ...restProps }) {\r\n const { toggleShow, setToggleShow } = useContext(ToggleContext)\r\n\r\n return (\r\n <Header\r\n {...restProps}\r\n onClick={() => setToggleShow((toggleShow) => !toggleShow)}>\r\n {children}\r\n {toggleShow ? (\r\n <img src=\"/images/icons/close-slim.png\" alt=\"Close\"/>\r\n ) : (\r\n <img src=\"/images/icons/add.png\" alt=\"Add\"/>\r\n )}\r\n </Header>\r\n )\r\n}\r\n\r\nAccordion.Body = function AccordionBody({ children, ...restProps }) {\r\n const { toggleShow, setToggleShow } = useContext(ToggleContext)\r\n\r\n return toggleShow ? <Body {...restProps}>{children}</Body> : null\r\n}\r\n","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\accordion\\styles\\accordion.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\containers\\faqs.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\opt-form\\index.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\opt-form\\styles\\opt-form.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\constants\\routes.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\pages\\home.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\pages\\index.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\pages\\signin.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\pages\\signup.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\pages\\browse.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\containers\\header.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\header\\index.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\header\\styles\\header.js",["187"],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\feature\\index.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\feature\\styles\\feature.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\lib\\firebase.prod.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\seed.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\context\\firebase.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\form\\index.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\form\\styles\\form.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\helpers\\routes.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\hooks\\index.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\hooks\\use-auth-listener.js",["188"],"import { useState, useEffect, useContext } from 'react'\r\nimport { FirebaseContext } from '../context/firebase'\r\n\r\nexport default function useAuthListener() {\r\n const [user, setUser] = useState(\r\n JSON.parse(localStorage.getItem('authUser'))\r\n )\r\n\r\n const { firebase } = useContext(FirebaseContext)\r\n\r\n useEffect(() => {\r\n const listener = firebase.auth().onAuthStateChanged(authUser => {\r\n if (authUser) {\r\n localStorage.setItem('authUser', JSON.stringify(authUser))\r\n setUser(authUser)\r\n } else {\r\n localStorage.removeItem('authUser')\r\n setUser(null)\r\n }\r\n })\r\n\r\n return () => listener()\r\n }, [])\r\n\r\n return { user }\r\n}\r\n","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\hooks\\use-content.js",["189"],"import { useEffect, useState, useContext } from 'react'\r\nimport { FirebaseContext } from '../context/firebase'\r\n\r\nexport default function useContent(target) {\r\n const [content, setContent] = useState([])\r\n const { firebase } = useContext(FirebaseContext)\r\n\r\n useEffect(() => {\r\n firebase\r\n .firestore()\r\n .collection(target)\r\n .get()\r\n .then(snapshot => {\r\n const allContent = snapshot.docs.map(contentObj => ({\r\n ...contentObj.data(),\r\n docId: contentObj.id\r\n }))\r\n\r\n setContent(allContent)\r\n })\r\n .catch(error => console.log(error))\r\n }, [])\r\n\r\n return { [target]: content }\r\n}\r\n","C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\utils\\selection-filter.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\containers\\browse.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\containers\\profile.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\profiles\\index.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\profiles\\styles\\profiles.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\loading\\index.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\loading\\styles\\loading.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\card\\index.js",[],"C:\\Users\\Misha\\Desktop\\Проекти\\React\\netflix-clone\\src\\components\\card\\styles\\card.js",[],{"ruleId":"190","replacedBy":"191"},{"ruleId":"192","replacedBy":"193"},{"ruleId":"194","severity":1,"message":"195","line":2,"column":47,"nodeType":"196","messageId":"197","endLine":2,"endColumn":51},{"ruleId":"194","severity":1,"message":"198","line":46,"column":23,"nodeType":"196","messageId":"197","endLine":46,"endColumn":36},{"ruleId":"194","severity":1,"message":"199","line":3,"column":10,"nodeType":"196","messageId":"197","endLine":3,"endColumn":13},{"ruleId":"200","severity":1,"message":"201","line":23,"column":6,"nodeType":"202","endLine":23,"endColumn":8,"suggestions":"203"},{"ruleId":"200","severity":1,"message":"204","line":22,"column":6,"nodeType":"202","endLine":22,"endColumn":8,"suggestions":"205"},"no-native-reassign",["206"],"no-negated-in-lhs",["207"],"no-unused-vars","'Text' is defined but never used.","Identifier","unusedVar","'setToggleShow' is assigned a value but never used.","'act' is defined but never used.","react-hooks/exhaustive-deps","React Hook useEffect has a missing dependency: 'firebase'. Either include it or remove the dependency array.","ArrayExpression",["208"],"React Hook useEffect has missing dependencies: 'firebase' and 'target'. Either include them or remove the dependency array.",["209"],"no-global-assign","no-unsafe-negation",{"desc":"210","fix":"211"},{"desc":"212","fix":"213"},"Update the dependencies array to be: [firebase]",{"range":"214","text":"215"},"Update the dependencies array to be: [firebase, target]",{"range":"216","text":"217"},[654,656],"[firebase]",[616,618],"[firebase, target]"]