diff --git a/node_modules/.cache/.eslintcache b/node_modules/.cache/.eslintcache index 1395a5f..a3718e6 100644 --- a/node_modules/.cache/.eslintcache +++ b/node_modules/.cache/.eslintcache @@ -1 +1 @@ -[{"D:\\IT\\Reopository\\REACT\\goit-react-hw-03-phonebook\\src\\index.js":"1","D:\\IT\\Reopository\\REACT\\goit-react-hw-03-phonebook\\src\\components\\App\\App.jsx":"2","D:\\IT\\Reopository\\REACT\\goit-react-hw-03-phonebook\\src\\components\\ContactForm\\ContactForm.jsx":"3","D:\\IT\\Reopository\\REACT\\goit-react-hw-03-phonebook\\src\\components\\ContactList\\ContactList.jsx":"4","D:\\IT\\Reopository\\REACT\\goit-react-hw-03-phonebook\\src\\components\\Filter\\Filter.jsx":"5","D:\\IT\\Reopository\\REACT\\goit-react-hw-03-phonebook\\src\\components\\Input\\Input.jsx":"6","D:\\IT\\Reopository\\REACT\\goit-react-hw-04-phonebook\\src\\index.js":"7","D:\\IT\\Reopository\\REACT\\goit-react-hw-04-phonebook\\src\\components\\App\\App.jsx":"8","D:\\IT\\Reopository\\REACT\\goit-react-hw-04-phonebook\\src\\components\\Filter\\Filter.jsx":"9","D:\\IT\\Reopository\\REACT\\goit-react-hw-04-phonebook\\src\\components\\ContactForm\\ContactForm.jsx":"10","D:\\IT\\Reopository\\REACT\\goit-react-hw-04-phonebook\\src\\components\\ContactList\\ContactList.jsx":"11","D:\\IT\\Reopository\\REACT\\goit-react-hw-04-phonebook\\src\\components\\Input\\Input.jsx":"12","D:\\IT\\Reopository\\REACT\\goit-react-hw-06-phonebook\\src\\index.js":"13","D:\\IT\\Reopository\\REACT\\goit-react-hw-06-phonebook\\src\\components\\App\\App.jsx":"14","D:\\IT\\Reopository\\REACT\\goit-react-hw-06-phonebook\\src\\components\\ContactForm\\ContactForm.jsx":"15","D:\\IT\\Reopository\\REACT\\goit-react-hw-06-phonebook\\src\\components\\ContactList\\ContactList.jsx":"16","D:\\IT\\Reopository\\REACT\\goit-react-hw-06-phonebook\\src\\components\\Filter\\Filter.jsx":"17","D:\\IT\\Reopository\\REACT\\goit-react-hw-06-phonebook\\src\\redux\\store.js":"18","D:\\IT\\Reopository\\REACT\\goit-react-hw-06-phonebook\\src\\redux\\contactsSlice.js":"19","D:\\IT\\Reopository\\REACT\\goit-react-hw-06-phonebook\\src\\redux\\selectors.js":"20","D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\index.js":"21","D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\redux\\store.js":"22","D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\components\\App\\App.jsx":"23","D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\redux\\filterSlice.js":"24","D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\redux\\contactsSlice.js":"25","D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\components\\ContactForm\\ContactForm.jsx":"26","D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\components\\Filter\\Filter.jsx":"27","D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\components\\ContactList\\ContactList.jsx":"28","D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\redux\\selectors.js":"29","D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\components\\Loader\\Loader.jsx":"30","D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\redux\\operations.js":"31","D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\redux\\initialState.js":"32","D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\index.js":"33","D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\redux\\store.js":"34","D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\components\\App\\App.jsx":"35","D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\redux\\filterSlice.js":"36","D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\redux\\contactsSlice.js":"37","D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\redux\\operations.js":"38","D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\components\\Filter\\Filter.jsx":"39","D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\components\\ContactForm\\ContactForm.jsx":"40","D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\components\\ContactList\\ContactList.jsx":"41","D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\redux\\initialState.js":"42","D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\redux\\selectors.js":"43","D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\components\\Loader\\Loader.jsx":"44"},{"size":262,"mtime":1703108352582,"results":"45","hashOfConfig":"46"},{"size":2186,"mtime":1703493087914,"results":"47","hashOfConfig":"46"},{"size":1722,"mtime":1703496104589,"results":"48","hashOfConfig":"46"},{"size":1285,"mtime":1703495308144,"results":"49","hashOfConfig":"46"},{"size":527,"mtime":1703266421200,"results":"50","hashOfConfig":"46"},{"size":829,"mtime":1703263969014,"results":"51","hashOfConfig":"46"},{"size":262,"mtime":1703108352582,"results":"52","hashOfConfig":"53"},{"size":2026,"mtime":1704202044072,"results":"54","hashOfConfig":"53"},{"size":527,"mtime":1703266421200,"results":"55","hashOfConfig":"53"},{"size":1711,"mtime":1704201665219,"results":"56","hashOfConfig":"53"},{"size":1309,"mtime":1704201679577,"results":"57","hashOfConfig":"53"},{"size":829,"mtime":1703263969014,"results":"58","hashOfConfig":"53"},{"size":545,"mtime":1705479924274,"results":"59","hashOfConfig":"60"},{"size":567,"mtime":1705482992160,"results":"61","hashOfConfig":"60"},{"size":2563,"mtime":1705568107598,"results":"62","hashOfConfig":"60"},{"size":1646,"mtime":1705568116886,"results":"63","hashOfConfig":"60"},{"size":757,"mtime":1705566765850,"results":"64","hashOfConfig":"60"},{"size":661,"mtime":1705493356510,"results":"65","hashOfConfig":"60"},{"size":776,"mtime":1705566171515,"results":"66","hashOfConfig":"60"},{"size":118,"mtime":1705566531454,"results":"67","hashOfConfig":"60"},{"size":394,"mtime":1706093734737,"results":"68","hashOfConfig":"69"},{"size":270,"mtime":1706008202656,"results":"70","hashOfConfig":"69"},{"size":810,"mtime":1706120750488,"results":"71","hashOfConfig":"69"},{"size":349,"mtime":1706119014403,"results":"72","hashOfConfig":"69"},{"size":1628,"mtime":1706119476472,"results":"73","hashOfConfig":"69"},{"size":2804,"mtime":1706090528949,"results":"74","hashOfConfig":"69"},{"size":758,"mtime":1706120958131,"results":"75","hashOfConfig":"69"},{"size":1762,"mtime":1706120983858,"results":"76","hashOfConfig":"69"},{"size":574,"mtime":1706120234503,"results":"77","hashOfConfig":"69"},{"size":395,"mtime":1706038503787,"results":"78","hashOfConfig":"69"},{"size":1010,"mtime":1706090367154,"results":"79","hashOfConfig":"69"},{"size":153,"mtime":1706093379069,"results":"80","hashOfConfig":"69"},{"size":394,"mtime":1706093734737,"results":"81","hashOfConfig":"82"},{"size":270,"mtime":1706008202656,"results":"83","hashOfConfig":"82"},{"size":810,"mtime":1706120750488,"results":"84","hashOfConfig":"82"},{"size":349,"mtime":1706119014403,"results":"85","hashOfConfig":"82"},{"size":1628,"mtime":1706119476472,"results":"86","hashOfConfig":"82"},{"size":1010,"mtime":1706090367154,"results":"87","hashOfConfig":"82"},{"size":758,"mtime":1706120958131,"results":"88","hashOfConfig":"82"},{"size":2804,"mtime":1706090528949,"results":"89","hashOfConfig":"82"},{"size":1762,"mtime":1706120983858,"results":"90","hashOfConfig":"82"},{"size":153,"mtime":1706093379069,"results":"91","hashOfConfig":"82"},{"size":574,"mtime":1706120234503,"results":"92","hashOfConfig":"82"},{"size":395,"mtime":1706038503787,"results":"93","hashOfConfig":"82"},{"filePath":"94","messages":"95","suppressedMessages":"96","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"97"},"hg5m9g",{"filePath":"98","messages":"99","suppressedMessages":"100","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"97"},{"filePath":"101","messages":"102","suppressedMessages":"103","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"104","messages":"105","suppressedMessages":"106","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"107","messages":"108","suppressedMessages":"109","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"97"},{"filePath":"110","messages":"111","suppressedMessages":"112","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"97"},{"filePath":"113","messages":"114","suppressedMessages":"115","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"12urtqj",{"filePath":"116","messages":"117","suppressedMessages":"118","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"119","messages":"120","suppressedMessages":"121","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"122","messages":"123","suppressedMessages":"124","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"125","messages":"126","suppressedMessages":"127","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"128","messages":"129","suppressedMessages":"130","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"131","messages":"132","suppressedMessages":"133","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"ybuhds",{"filePath":"134","messages":"135","suppressedMessages":"136","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"137","messages":"138","suppressedMessages":"139","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"140","messages":"141","suppressedMessages":"142","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"143","messages":"144","suppressedMessages":"145","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"146","messages":"147","suppressedMessages":"148","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"149","messages":"150","suppressedMessages":"151","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"152","messages":"153","suppressedMessages":"154","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"155","messages":"156","suppressedMessages":"157","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"137ooi0",{"filePath":"158","messages":"159","suppressedMessages":"160","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"161","messages":"162","suppressedMessages":"163","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"164","messages":"165","suppressedMessages":"166","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"167","messages":"168","suppressedMessages":"169","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"170","messages":"171","suppressedMessages":"172","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"173","messages":"174","suppressedMessages":"175","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"176","messages":"177","suppressedMessages":"178","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"179","messages":"180","suppressedMessages":"181","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"182","messages":"183","suppressedMessages":"184","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"185","messages":"186","suppressedMessages":"187","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"188","messages":"189","suppressedMessages":"190","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"191","messages":"192","suppressedMessages":"193","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"g8d970",{"filePath":"194","messages":"195","suppressedMessages":"196","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"197","messages":"198","suppressedMessages":"199","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"200","messages":"201","suppressedMessages":"202","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"203","messages":"204","suppressedMessages":"205","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"206","messages":"207","suppressedMessages":"208","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"209","messages":"210","suppressedMessages":"211","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"212","messages":"213","suppressedMessages":"214","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"215","messages":"216","suppressedMessages":"217","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"218","messages":"219","suppressedMessages":"220","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"221","messages":"222","suppressedMessages":"223","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"224","messages":"225","suppressedMessages":"226","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"D:\\IT\\Reopository\\REACT\\goit-react-hw-03-phonebook\\src\\index.js",[],[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-03-phonebook\\src\\components\\App\\App.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-03-phonebook\\src\\components\\ContactForm\\ContactForm.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-03-phonebook\\src\\components\\ContactList\\ContactList.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-03-phonebook\\src\\components\\Filter\\Filter.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-03-phonebook\\src\\components\\Input\\Input.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-04-phonebook\\src\\index.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-04-phonebook\\src\\components\\App\\App.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-04-phonebook\\src\\components\\Filter\\Filter.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-04-phonebook\\src\\components\\ContactForm\\ContactForm.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-04-phonebook\\src\\components\\ContactList\\ContactList.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-04-phonebook\\src\\components\\Input\\Input.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-06-phonebook\\src\\index.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-06-phonebook\\src\\components\\App\\App.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-06-phonebook\\src\\components\\ContactForm\\ContactForm.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-06-phonebook\\src\\components\\ContactList\\ContactList.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-06-phonebook\\src\\components\\Filter\\Filter.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-06-phonebook\\src\\redux\\store.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-06-phonebook\\src\\redux\\contactsSlice.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-06-phonebook\\src\\redux\\selectors.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\index.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\redux\\store.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\components\\App\\App.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\redux\\filterSlice.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\redux\\contactsSlice.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\components\\ContactForm\\ContactForm.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\components\\Filter\\Filter.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\components\\ContactList\\ContactList.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\redux\\selectors.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\components\\Loader\\Loader.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\redux\\operations.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\redux\\initialState.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\index.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\redux\\store.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\components\\App\\App.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\redux\\filterSlice.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\redux\\contactsSlice.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\redux\\operations.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\components\\Filter\\Filter.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\components\\ContactForm\\ContactForm.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\components\\ContactList\\ContactList.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\redux\\initialState.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\redux\\selectors.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\components\\Loader\\Loader.jsx",[],[]] \ No newline at end of file +[{"D:\\IT\\Reopository\\REACT\\goit-react-hw-03-phonebook\\src\\index.js":"1","D:\\IT\\Reopository\\REACT\\goit-react-hw-03-phonebook\\src\\components\\App\\App.jsx":"2","D:\\IT\\Reopository\\REACT\\goit-react-hw-03-phonebook\\src\\components\\ContactForm\\ContactForm.jsx":"3","D:\\IT\\Reopository\\REACT\\goit-react-hw-03-phonebook\\src\\components\\ContactList\\ContactList.jsx":"4","D:\\IT\\Reopository\\REACT\\goit-react-hw-03-phonebook\\src\\components\\Filter\\Filter.jsx":"5","D:\\IT\\Reopository\\REACT\\goit-react-hw-03-phonebook\\src\\components\\Input\\Input.jsx":"6","D:\\IT\\Reopository\\REACT\\goit-react-hw-04-phonebook\\src\\index.js":"7","D:\\IT\\Reopository\\REACT\\goit-react-hw-04-phonebook\\src\\components\\App\\App.jsx":"8","D:\\IT\\Reopository\\REACT\\goit-react-hw-04-phonebook\\src\\components\\Filter\\Filter.jsx":"9","D:\\IT\\Reopository\\REACT\\goit-react-hw-04-phonebook\\src\\components\\ContactForm\\ContactForm.jsx":"10","D:\\IT\\Reopository\\REACT\\goit-react-hw-04-phonebook\\src\\components\\ContactList\\ContactList.jsx":"11","D:\\IT\\Reopository\\REACT\\goit-react-hw-04-phonebook\\src\\components\\Input\\Input.jsx":"12","D:\\IT\\Reopository\\REACT\\goit-react-hw-06-phonebook\\src\\index.js":"13","D:\\IT\\Reopository\\REACT\\goit-react-hw-06-phonebook\\src\\components\\App\\App.jsx":"14","D:\\IT\\Reopository\\REACT\\goit-react-hw-06-phonebook\\src\\components\\ContactForm\\ContactForm.jsx":"15","D:\\IT\\Reopository\\REACT\\goit-react-hw-06-phonebook\\src\\components\\ContactList\\ContactList.jsx":"16","D:\\IT\\Reopository\\REACT\\goit-react-hw-06-phonebook\\src\\components\\Filter\\Filter.jsx":"17","D:\\IT\\Reopository\\REACT\\goit-react-hw-06-phonebook\\src\\redux\\store.js":"18","D:\\IT\\Reopository\\REACT\\goit-react-hw-06-phonebook\\src\\redux\\contactsSlice.js":"19","D:\\IT\\Reopository\\REACT\\goit-react-hw-06-phonebook\\src\\redux\\selectors.js":"20","D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\index.js":"21","D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\redux\\store.js":"22","D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\components\\App\\App.jsx":"23","D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\redux\\filterSlice.js":"24","D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\redux\\contactsSlice.js":"25","D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\components\\ContactForm\\ContactForm.jsx":"26","D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\components\\Filter\\Filter.jsx":"27","D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\components\\ContactList\\ContactList.jsx":"28","D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\redux\\selectors.js":"29","D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\components\\Loader\\Loader.jsx":"30","D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\redux\\operations.js":"31","D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\redux\\initialState.js":"32","D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\index.js":"33","D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\redux\\store.js":"34","D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\components\\App\\App.jsx":"35","D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\redux\\filterSlice.js":"36","D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\redux\\contactsSlice.js":"37","D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\redux\\operations.js":"38","D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\components\\Filter\\Filter.jsx":"39","D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\components\\ContactList\\ContactList.jsx":"40","D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\redux\\initialState.js":"41","D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\redux\\selectors.js":"42","D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\components\\Loader\\Loader.jsx":"43","D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\components\\Form\\ContactForm\\ContactForm.jsx":"44"},{"size":262,"mtime":1703108352582,"results":"45","hashOfConfig":"46"},{"size":2186,"mtime":1703493087914,"results":"47","hashOfConfig":"46"},{"size":1722,"mtime":1703496104589,"results":"48","hashOfConfig":"46"},{"size":1285,"mtime":1703495308144,"results":"49","hashOfConfig":"46"},{"size":527,"mtime":1703266421200,"results":"50","hashOfConfig":"46"},{"size":829,"mtime":1703263969014,"results":"51","hashOfConfig":"46"},{"size":262,"mtime":1703108352582,"results":"52","hashOfConfig":"53"},{"size":2026,"mtime":1704202044072,"results":"54","hashOfConfig":"53"},{"size":527,"mtime":1703266421200,"results":"55","hashOfConfig":"53"},{"size":1711,"mtime":1704201665219,"results":"56","hashOfConfig":"53"},{"size":1309,"mtime":1704201679577,"results":"57","hashOfConfig":"53"},{"size":829,"mtime":1703263969014,"results":"58","hashOfConfig":"53"},{"size":545,"mtime":1705479924274,"results":"59","hashOfConfig":"60"},{"size":567,"mtime":1705482992160,"results":"61","hashOfConfig":"60"},{"size":2563,"mtime":1705568107598,"results":"62","hashOfConfig":"60"},{"size":1646,"mtime":1705568116886,"results":"63","hashOfConfig":"60"},{"size":757,"mtime":1705566765850,"results":"64","hashOfConfig":"60"},{"size":661,"mtime":1705493356510,"results":"65","hashOfConfig":"60"},{"size":776,"mtime":1705566171515,"results":"66","hashOfConfig":"60"},{"size":118,"mtime":1705566531454,"results":"67","hashOfConfig":"60"},{"size":394,"mtime":1706093734737,"results":"68","hashOfConfig":"69"},{"size":270,"mtime":1706008202656,"results":"70","hashOfConfig":"69"},{"size":810,"mtime":1706120750488,"results":"71","hashOfConfig":"69"},{"size":349,"mtime":1706119014403,"results":"72","hashOfConfig":"69"},{"size":1628,"mtime":1706119476472,"results":"73","hashOfConfig":"69"},{"size":2804,"mtime":1706090528949,"results":"74","hashOfConfig":"69"},{"size":758,"mtime":1706120958131,"results":"75","hashOfConfig":"69"},{"size":1762,"mtime":1706120983858,"results":"76","hashOfConfig":"69"},{"size":574,"mtime":1706120234503,"results":"77","hashOfConfig":"69"},{"size":395,"mtime":1706038503787,"results":"78","hashOfConfig":"69"},{"size":1010,"mtime":1706090367154,"results":"79","hashOfConfig":"69"},{"size":153,"mtime":1706093379069,"results":"80","hashOfConfig":"69"},{"size":394,"mtime":1706093734737,"results":"81","hashOfConfig":"82"},{"size":270,"mtime":1706008202656,"results":"83","hashOfConfig":"82"},{"size":815,"mtime":1706176960525,"results":"84","hashOfConfig":"82"},{"size":349,"mtime":1706119014403,"results":"85","hashOfConfig":"82"},{"size":1628,"mtime":1706119476472,"results":"86","hashOfConfig":"82"},{"size":1010,"mtime":1706090367154,"results":"87","hashOfConfig":"82"},{"size":758,"mtime":1706120958131,"results":"88","hashOfConfig":"82"},{"size":1762,"mtime":1706120983858,"results":"89","hashOfConfig":"82"},{"size":153,"mtime":1706093379069,"results":"90","hashOfConfig":"82"},{"size":574,"mtime":1706120234503,"results":"91","hashOfConfig":"82"},{"size":395,"mtime":1706038503787,"results":"92","hashOfConfig":"82"},{"size":2813,"mtime":1706176960567,"results":"93","hashOfConfig":"82"},{"filePath":"94","messages":"95","suppressedMessages":"96","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"97"},"hg5m9g",{"filePath":"98","messages":"99","suppressedMessages":"100","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"97"},{"filePath":"101","messages":"102","suppressedMessages":"103","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"104","messages":"105","suppressedMessages":"106","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"107","messages":"108","suppressedMessages":"109","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"97"},{"filePath":"110","messages":"111","suppressedMessages":"112","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"97"},{"filePath":"113","messages":"114","suppressedMessages":"115","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"12urtqj",{"filePath":"116","messages":"117","suppressedMessages":"118","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"119","messages":"120","suppressedMessages":"121","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"122","messages":"123","suppressedMessages":"124","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"125","messages":"126","suppressedMessages":"127","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"128","messages":"129","suppressedMessages":"130","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"131","messages":"132","suppressedMessages":"133","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"ybuhds",{"filePath":"134","messages":"135","suppressedMessages":"136","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"137","messages":"138","suppressedMessages":"139","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"140","messages":"141","suppressedMessages":"142","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"143","messages":"144","suppressedMessages":"145","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"146","messages":"147","suppressedMessages":"148","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"149","messages":"150","suppressedMessages":"151","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"152","messages":"153","suppressedMessages":"154","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"155","messages":"156","suppressedMessages":"157","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"137ooi0",{"filePath":"158","messages":"159","suppressedMessages":"160","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"161","messages":"162","suppressedMessages":"163","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"164","messages":"165","suppressedMessages":"166","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"167","messages":"168","suppressedMessages":"169","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"170","messages":"171","suppressedMessages":"172","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"173","messages":"174","suppressedMessages":"175","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"176","messages":"177","suppressedMessages":"178","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"179","messages":"180","suppressedMessages":"181","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"182","messages":"183","suppressedMessages":"184","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"185","messages":"186","suppressedMessages":"187","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"188","messages":"189","suppressedMessages":"190","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"191","messages":"192","suppressedMessages":"193","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"g8d970",{"filePath":"194","messages":"195","suppressedMessages":"196","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"197","messages":"198","suppressedMessages":"199","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"200","messages":"201","suppressedMessages":"202","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"203","messages":"204","suppressedMessages":"205","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"206","messages":"207","suppressedMessages":"208","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"209","messages":"210","suppressedMessages":"211","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"212","messages":"213","suppressedMessages":"214","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"215","messages":"216","suppressedMessages":"217","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"218","messages":"219","suppressedMessages":"220","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"221","messages":"222","suppressedMessages":"223","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"224","messages":"225","suppressedMessages":"226","errorCount":0,"fatalErrorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"D:\\IT\\Reopository\\REACT\\goit-react-hw-03-phonebook\\src\\index.js",[],[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-03-phonebook\\src\\components\\App\\App.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-03-phonebook\\src\\components\\ContactForm\\ContactForm.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-03-phonebook\\src\\components\\ContactList\\ContactList.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-03-phonebook\\src\\components\\Filter\\Filter.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-03-phonebook\\src\\components\\Input\\Input.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-04-phonebook\\src\\index.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-04-phonebook\\src\\components\\App\\App.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-04-phonebook\\src\\components\\Filter\\Filter.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-04-phonebook\\src\\components\\ContactForm\\ContactForm.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-04-phonebook\\src\\components\\ContactList\\ContactList.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-04-phonebook\\src\\components\\Input\\Input.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-06-phonebook\\src\\index.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-06-phonebook\\src\\components\\App\\App.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-06-phonebook\\src\\components\\ContactForm\\ContactForm.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-06-phonebook\\src\\components\\ContactList\\ContactList.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-06-phonebook\\src\\components\\Filter\\Filter.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-06-phonebook\\src\\redux\\store.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-06-phonebook\\src\\redux\\contactsSlice.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-06-phonebook\\src\\redux\\selectors.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\index.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\redux\\store.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\components\\App\\App.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\redux\\filterSlice.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\redux\\contactsSlice.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\components\\ContactForm\\ContactForm.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\components\\Filter\\Filter.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\components\\ContactList\\ContactList.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\redux\\selectors.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\components\\Loader\\Loader.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\redux\\operations.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-07-phonebook\\src\\redux\\initialState.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\index.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\redux\\store.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\components\\App\\App.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\redux\\filterSlice.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\redux\\contactsSlice.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\redux\\operations.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\components\\Filter\\Filter.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\components\\ContactList\\ContactList.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\redux\\initialState.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\redux\\selectors.js",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\components\\Loader\\Loader.jsx",[],[],"D:\\IT\\Reopository\\REACT\\goit-react-hw-08-phonebook\\src\\components\\Form\\ContactForm\\ContactForm.jsx",[],[]] \ No newline at end of file diff --git a/node_modules/.cache/default-development/0.pack b/node_modules/.cache/default-development/0.pack index 43020b5..39364a6 100644 Binary files a/node_modules/.cache/default-development/0.pack and b/node_modules/.cache/default-development/0.pack differ diff --git a/node_modules/.cache/default-development/index.pack b/node_modules/.cache/default-development/index.pack index 83008e9..e14bf32 100644 Binary files a/node_modules/.cache/default-development/index.pack and b/node_modules/.cache/default-development/index.pack differ diff --git a/node_modules/.cache/default-development/index.pack.old b/node_modules/.cache/default-development/index.pack.old index 8f5bcad..83008e9 100644 Binary files a/node_modules/.cache/default-development/index.pack.old and b/node_modules/.cache/default-development/index.pack.old differ diff --git a/src/components/App/App.jsx b/src/components/App/App.jsx index 3688bb4..a318d85 100644 --- a/src/components/App/App.jsx +++ b/src/components/App/App.jsx @@ -1,4 +1,4 @@ -import ContactForm from '../ContactForm/ContactForm'; +import ContactForm from '../Form/ContactForm/ContactForm'; import ContactList from '../ContactList/ContactList'; import Filter from '../Filter/Filter'; diff --git a/src/components/ContactForm/ContactForm.jsx b/src/components/Form/ContactForm/ContactForm.jsx similarity index 94% rename from src/components/ContactForm/ContactForm.jsx rename to src/components/Form/ContactForm/ContactForm.jsx index d3f7c47..14de10b 100644 --- a/src/components/ContactForm/ContactForm.jsx +++ b/src/components/Form/ContactForm/ContactForm.jsx @@ -1,10 +1,10 @@ import { useDispatch, useSelector } from 'react-redux'; -import { addContact } from '../../redux/operations'; -import * as selectors from '../../redux/selectors'; +import { addContact } from '../../../redux/operations'; +import * as selectors from '../../../redux/selectors'; import { nanoid } from '@reduxjs/toolkit'; import Notiflix from 'notiflix'; -import { Loader } from '../Loader/Loader'; +import { Loader } from '../../Loader/Loader'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; import { faUser, faPhone, faCheck } from '@fortawesome/free-solid-svg-icons'; diff --git a/src/components/ContactForm/ContactForm.module.css b/src/components/Form/ContactForm/ContactForm.module.css similarity index 100% rename from src/components/ContactForm/ContactForm.module.css rename to src/components/Form/ContactForm/ContactForm.module.css diff --git a/src/components/Form/authForms/LoginForm.jsx b/src/components/Form/authForms/LoginForm.jsx new file mode 100644 index 0000000..1b936f3 --- /dev/null +++ b/src/components/Form/authForms/LoginForm.jsx @@ -0,0 +1,36 @@ +import { useDispatch, useSelector } from 'react-redux'; + +export const LoginForm = () => { + const dispatch = useDispatch(); + const errorLogin = useSelector(state => state.error); // Dont FORGET !!! import selector + + const handleSubmit = e => { + e.preventDefault(); + const form = e.currentTarget; + + dispatch( + logIn({ + email: form.elements.email.value, + password: form.elements.password.value, + }) + ); + form.reset(); + }; + + return ( + <> + {errorLogin &&
Error login
} +
+ + + +
+ + ); +}; diff --git a/src/components/Form/authForms/RegisterForm.jsx b/src/components/Form/authForms/RegisterForm.jsx new file mode 100644 index 0000000..57b764e --- /dev/null +++ b/src/components/Form/authForms/RegisterForm.jsx @@ -0,0 +1,54 @@ +import { useDispatch } from 'react-redux'; + +export const RegisterForm = () => { + const dispatch = useDispatch(); + + const handleSubmit = e => { + e.preventDefault(); + const form = e.currentTarget; + + dispatch( + register({ + name: form.elements.name.value, + email: form.elements.email.value, + password: form.elements.password.value, + }) + ); + form.reset(); + }; + + return ( +
+ + + + +
+ ); +}; diff --git a/src/pages/Login.jsx b/src/pages/Login.jsx index 9e3c308..2dec976 100644 --- a/src/pages/Login.jsx +++ b/src/pages/Login.jsx @@ -1,4 +1,5 @@ import { NavLink } from 'react-router-dom'; +import { LoginForm } from '../components/Form/authForms/LoginForm' const Login = () => { return ( diff --git a/src/pages/Register.jsx b/src/pages/Register.jsx index 19fec00..bf3d584 100644 --- a/src/pages/Register.jsx +++ b/src/pages/Register.jsx @@ -1,4 +1,5 @@ import { NavLink } from 'react-router-dom'; +import { RegisterForm } from '../components/Form/authForms/RegisterForm'; const Register = () => { return (