Skip to content

Commit

Permalink
styling
Browse files Browse the repository at this point in the history
  • Loading branch information
Shubhamdutta2000 committed Dec 19, 2020
1 parent b4fdf56 commit 3d721a0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .eslintcache
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"P:\\reactquery\\src\\index.js":"1","P:\\reactquery\\src\\App.js":"2","P:\\reactquery\\src\\components\\Navbar.js":"3","P:\\reactquery\\src\\components\\Home.js":"4","P:\\reactquery\\src\\components\\Starships\\Starship.js":"5","P:\\reactquery\\src\\components\\Starships\\Starships.js":"6","P:\\reactquery\\src\\components\\Films\\Film.js":"7","P:\\reactquery\\src\\components\\Films\\Films.js":"8","P:\\reactquery\\src\\components\\People\\People.js":"9","P:\\reactquery\\src\\components\\People\\Person.js":"10","P:\\reactquery\\src\\components\\Planets\\Planet.js":"11","P:\\reactquery\\src\\components\\Planets\\Planets.js":"12","P:\\reactquery\\src\\components\\Loader.js":"13"},{"size":180,"mtime":1608353657659,"results":"14","hashOfConfig":"15"},{"size":1171,"mtime":1608387219511,"results":"16","hashOfConfig":"15"},{"size":431,"mtime":1608382989638,"results":"17","hashOfConfig":"15"},{"size":852,"mtime":1608387715262,"results":"18","hashOfConfig":"15"},{"size":282,"mtime":1608383904410,"results":"19","hashOfConfig":"15"},{"size":2073,"mtime":1608389369075,"results":"20","hashOfConfig":"15"},{"size":265,"mtime":1608383912368,"results":"21","hashOfConfig":"15"},{"size":1060,"mtime":1608387512626,"results":"22","hashOfConfig":"15"},{"size":1943,"mtime":1608389198429,"results":"23","hashOfConfig":"15"},{"size":276,"mtime":1608383923738,"results":"24","hashOfConfig":"15"},{"size":270,"mtime":1608383928910,"results":"25","hashOfConfig":"15"},{"size":1955,"mtime":1608388877205,"results":"26","hashOfConfig":"15"},{"size":419,"mtime":1608387472187,"results":"27","hashOfConfig":"15"},{"filePath":"28","messages":"29","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},"nvblew",{"filePath":"31","messages":"32","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"33","messages":"34","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"35","messages":"36","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"37","messages":"38","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"39","messages":"40","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"41","messages":"42","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"43","messages":"44","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"45","messages":"46","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"47","messages":"48","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"49","messages":"50","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"51","messages":"52","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"53","messages":"54","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"P:\\reactquery\\src\\index.js",[],["55","56"],"P:\\reactquery\\src\\App.js",[],"P:\\reactquery\\src\\components\\Navbar.js",[],"P:\\reactquery\\src\\components\\Home.js",[],"P:\\reactquery\\src\\components\\Starships\\Starship.js",[],"P:\\reactquery\\src\\components\\Starships\\Starships.js",["57"],"P:\\reactquery\\src\\components\\Films\\Film.js",[],"P:\\reactquery\\src\\components\\Films\\Films.js",["58"],"P:\\reactquery\\src\\components\\People\\People.js",["59"],"P:\\reactquery\\src\\components\\People\\Person.js",[],"P:\\reactquery\\src\\components\\Planets\\Planet.js",[],"P:\\reactquery\\src\\components\\Planets\\Planets.js",["60"],"P:\\reactquery\\src\\components\\Loader.js",[],{"ruleId":"61","replacedBy":"62"},{"ruleId":"63","replacedBy":"64"},{"ruleId":"65","severity":1,"message":"66","line":45,"column":32,"nodeType":"67","messageId":"68","endLine":45,"endColumn":34},{"ruleId":"69","severity":1,"message":"70","line":1,"column":17,"nodeType":"71","messageId":"72","endLine":1,"endColumn":25},{"ruleId":"65","severity":1,"message":"66","line":44,"column":30,"nodeType":"67","messageId":"68","endLine":44,"endColumn":32},{"ruleId":"65","severity":1,"message":"66","line":44,"column":30,"nodeType":"67","messageId":"68","endLine":44,"endColumn":32},"no-native-reassign",["73"],"no-negated-in-lhs",["74"],"eqeqeq","Expected '===' and instead saw '=='.","BinaryExpression","unexpected","no-unused-vars","'useState' is defined but never used.","Identifier","unusedVar","no-global-assign","no-unsafe-negation"]
[{"P:\\reactquery\\src\\index.js":"1","P:\\reactquery\\src\\App.js":"2","P:\\reactquery\\src\\components\\Navbar.js":"3","P:\\reactquery\\src\\components\\Home.js":"4","P:\\reactquery\\src\\components\\Films\\Films.js":"5","P:\\reactquery\\src\\components\\Planets\\Planets.js":"6","P:\\reactquery\\src\\components\\People\\People.js":"7","P:\\reactquery\\src\\components\\Starships\\Starships.js":"8","P:\\reactquery\\src\\components\\Films\\Film.js":"9","P:\\reactquery\\src\\components\\Loader.js":"10","P:\\reactquery\\src\\components\\Planets\\Planet.js":"11","P:\\reactquery\\src\\components\\People\\Person.js":"12","P:\\reactquery\\src\\components\\Starships\\Starship.js":"13"},{"size":180,"mtime":1608353657659,"results":"14","hashOfConfig":"15"},{"size":1213,"mtime":1608395002957,"results":"16","hashOfConfig":"15"},{"size":431,"mtime":1608395002971,"results":"17","hashOfConfig":"15"},{"size":852,"mtime":1608395002970,"results":"18","hashOfConfig":"15"},{"size":1046,"mtime":1608396545764,"results":"19","hashOfConfig":"15"},{"size":1956,"mtime":1608396506353,"results":"20","hashOfConfig":"15"},{"size":1944,"mtime":1608396516777,"results":"21","hashOfConfig":"15"},{"size":2074,"mtime":1608396475571,"results":"22","hashOfConfig":"15"},{"size":265,"mtime":1608395002960,"results":"23","hashOfConfig":"15"},{"size":419,"mtime":1608395002971,"results":"24","hashOfConfig":"15"},{"size":270,"mtime":1608395002973,"results":"25","hashOfConfig":"15"},{"size":276,"mtime":1608395002972,"results":"26","hashOfConfig":"15"},{"size":282,"mtime":1608395002974,"results":"27","hashOfConfig":"15"},{"filePath":"28","messages":"29","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},"nvblew",{"filePath":"31","messages":"32","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"33","messages":"34","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"35","messages":"36","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"37","messages":"38","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"39","messages":"40","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"41","messages":"42","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"43","messages":"44","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"45","messages":"46","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"47","messages":"48","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"49"},{"filePath":"50","messages":"51","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"52","messages":"53","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},{"filePath":"54","messages":"55","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"30"},"P:\\reactquery\\src\\index.js",[],["56","57"],"P:\\reactquery\\src\\App.js",[],"P:\\reactquery\\src\\components\\Navbar.js",[],"P:\\reactquery\\src\\components\\Home.js",[],"P:\\reactquery\\src\\components\\Films\\Films.js",[],"P:\\reactquery\\src\\components\\Planets\\Planets.js",[],"P:\\reactquery\\src\\components\\People\\People.js",[],"P:\\reactquery\\src\\components\\Starships\\Starships.js",[],"P:\\reactquery\\src\\components\\Films\\Film.js",[],"P:\\reactquery\\src\\components\\Loader.js",[],["58","59"],"P:\\reactquery\\src\\components\\Planets\\Planet.js",[],"P:\\reactquery\\src\\components\\People\\Person.js",[],"P:\\reactquery\\src\\components\\Starships\\Starship.js",[],{"ruleId":"60","replacedBy":"61"},{"ruleId":"62","replacedBy":"63"},{"ruleId":"60","replacedBy":"64"},{"ruleId":"62","replacedBy":"65"},"no-native-reassign",["66"],"no-negated-in-lhs",["67"],["66"],["67"],"no-global-assign","no-unsafe-negation"]
2 changes: 1 addition & 1 deletion src/components/Films/Films.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useState } from "react";
import React from "react";
import { useQuery } from "react-query";

import Film from "./Film";
Expand Down
2 changes: 1 addition & 1 deletion src/components/People/People.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const People = () => {
<button
className="pagination__left"
onClick={() => setPage((old) => Math.min(old - 1, old))}
disabled={page == 1}
disabled={page === 1}
>
Previous
</button>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Planets/Planets.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const Planets = () => {
<button
className="pagination__prev"
onClick={() => setPage((old) => Math.min(old - 1, old))}
disabled={page == 1}
disabled={page === 1}
>
Previous
</button>
Expand Down
2 changes: 1 addition & 1 deletion src/components/Starships/Starships.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const Starships = () => {
<button
className="pagination__left"
onClick={() => setPage((old) => Math.min(old - 1, old))}
disabled={page == 1}
disabled={page === 1}
>
Previous
</button>
Expand Down

0 comments on commit 3d721a0

Please sign in to comment.