Skip to content

Commit

Permalink
filter, token list, notification
Browse files Browse the repository at this point in the history
  • Loading branch information
wjw12 committed Jan 1, 2021
1 parent faabe71 commit fb368a3
Show file tree
Hide file tree
Showing 10 changed files with 376 additions and 104 deletions.
2 changes: 1 addition & 1 deletion .eslintcache
Original file line number Diff line number Diff line change
@@ -1 +1 @@
[{"/mnt/c/Users/wangj/Documents/dex-whales/src/reportWebVitals.js":"1","/mnt/c/Users/wangj/Documents/dex-whales/src/App.js":"2","/mnt/c/Users/wangj/Documents/dex-whales/src/const.js":"3","/mnt/c/Users/wangj/Documents/dex-whales/src/index.js":"4","/mnt/c/Users/wangj/Documents/dex-whales/src/Card.js":"5","/mnt/c/Users/wangj/Documents/dex-whales/src/utils.js":"6","/mnt/c/Users/wangj/Documents/dex-whales/src/Tip.js":"7"},{"size":362,"mtime":1608924796142,"results":"8","hashOfConfig":"9"},{"size":5971,"mtime":1608949604534,"results":"10","hashOfConfig":"9"},{"size":585,"mtime":1608942292233,"results":"11","hashOfConfig":"9"},{"size":500,"mtime":1608924796137,"results":"12","hashOfConfig":"9"},{"size":3531,"mtime":1608951820697,"results":"13","hashOfConfig":"9"},{"size":698,"mtime":1608946480018,"results":"14","hashOfConfig":"9"},{"size":1721,"mtime":1608951083753,"results":"15","hashOfConfig":"9"},{"filePath":"16","messages":"17","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"163zon6",{"filePath":"18","messages":"19","errorCount":0,"warningCount":5,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"20","messages":"21","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"22","messages":"23","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"24","messages":"25","errorCount":0,"warningCount":7,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"26","messages":"27","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"28","messages":"29","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/mnt/c/Users/wangj/Documents/dex-whales/src/reportWebVitals.js",[],"/mnt/c/Users/wangj/Documents/dex-whales/src/App.js",["30","31","32","33","34"],"/mnt/c/Users/wangj/Documents/dex-whales/src/const.js",[],"/mnt/c/Users/wangj/Documents/dex-whales/src/index.js",[],"/mnt/c/Users/wangj/Documents/dex-whales/src/Card.js",["35","36","37","38","39","40","41"],"/mnt/c/Users/wangj/Documents/dex-whales/src/utils.js",[],"/mnt/c/Users/wangj/Documents/dex-whales/src/Tip.js",[],{"ruleId":"42","severity":1,"message":"43","line":1,"column":8,"nodeType":"44","messageId":"45","endLine":1,"endColumn":13},{"ruleId":"42","severity":1,"message":"46","line":2,"column":8,"nodeType":"44","messageId":"45","endLine":2,"endColumn":14},{"ruleId":"42","severity":1,"message":"47","line":8,"column":36,"nodeType":"44","messageId":"45","endLine":8,"endColumn":48},{"ruleId":"48","severity":1,"message":"49","line":147,"column":6,"nodeType":"50","endLine":147,"endColumn":30,"suggestions":"51"},{"ruleId":"48","severity":1,"message":"52","line":152,"column":6,"nodeType":"50","endLine":152,"endColumn":8,"suggestions":"53"},{"ruleId":"42","severity":1,"message":"54","line":1,"column":10,"nodeType":"44","messageId":"45","endLine":1,"endColumn":19},{"ruleId":"42","severity":1,"message":"55","line":1,"column":21,"nodeType":"44","messageId":"45","endLine":1,"endColumn":29},{"ruleId":"42","severity":1,"message":"56","line":2,"column":10,"nodeType":"44","messageId":"45","endLine":2,"endColumn":17},{"ruleId":"42","severity":1,"message":"57","line":2,"column":19,"nodeType":"44","messageId":"45","endLine":2,"endColumn":33},{"ruleId":"58","severity":1,"message":"59","line":57,"column":21,"nodeType":"60","messageId":"61","endLine":57,"endColumn":22,"suggestions":"62"},{"ruleId":"58","severity":1,"message":"59","line":62,"column":21,"nodeType":"60","messageId":"61","endLine":62,"endColumn":22,"suggestions":"63"},{"ruleId":"64","severity":1,"message":"65","line":106,"column":17,"nodeType":"66","endLine":113,"endColumn":18},"no-unused-vars","'react' is defined but never used.","Identifier","unusedVar","'Select' is defined but never used.","'action_types' is defined but never used.","react-hooks/exhaustive-deps","React Hook useEffect has a missing dependency: 'refreshDisplay'. Either include it or remove the dependency array.","ArrayExpression",["67"],"React Hook useEffect has a missing dependency: 'refreshData'. Either include it or remove the dependency array.",["68"],"'useEffect' is defined but never used.","'useState' is defined but never used.","'markets' is defined but never used.","'DEFAULT_MARKET' is defined but never used.","no-useless-escape","Unnecessary escape character: \\$.","TemplateElement","unnecessaryEscape",["69","70"],["71","72"],"jsx-a11y/alt-text","img elements must have an alt prop, either with meaningful text, or an empty string for decorative images.","JSXOpeningElement",{"desc":"73","fix":"74"},{"desc":"75","fix":"76"},{"messageId":"77","fix":"78","desc":"79"},{"messageId":"80","fix":"81","desc":"82"},{"messageId":"77","fix":"83","desc":"79"},{"messageId":"80","fix":"84","desc":"82"},"Update the dependencies array to be: [swaps, addLP, removeLP, refreshDisplay]",{"range":"85","text":"86"},"Update the dependencies array to be: [refreshData]",{"range":"87","text":"88"},"removeEscape",{"range":"89","text":"90"},"Remove the `\\`. This maintains the current functionality.","escapeBackslash",{"range":"91","text":"92"},"Replace the `\\` with `\\\\` to include the actual backslash character.",{"range":"93","text":"90"},{"range":"94","text":"92"},[3683,3707],"[swaps, addLP, removeLP, refreshDisplay]",[3780,3782],"[refreshData]",[1583,1584],"",[1583,1583],"\\",[1702,1703],[1702,1702]]
[{"/mnt/c/Users/wangj/Documents/dex-whales/src/reportWebVitals.js":"1","/mnt/c/Users/wangj/Documents/dex-whales/src/App.js":"2","/mnt/c/Users/wangj/Documents/dex-whales/src/const.js":"3","/mnt/c/Users/wangj/Documents/dex-whales/src/index.js":"4","/mnt/c/Users/wangj/Documents/dex-whales/src/Card.js":"5","/mnt/c/Users/wangj/Documents/dex-whales/src/utils.js":"6","/mnt/c/Users/wangj/Documents/dex-whales/src/Tip.js":"7","/mnt/c/Users/wangj/Documents/dex-whales/src/serviceWorker.js":"8"},{"size":362,"mtime":1608924796142,"results":"9","hashOfConfig":"10"},{"size":10801,"mtime":1609478509249,"results":"11","hashOfConfig":"10"},{"size":652,"mtime":1609220971108,"results":"12","hashOfConfig":"10"},{"size":500,"mtime":1608924796137,"results":"13","hashOfConfig":"10"},{"size":3287,"mtime":1609468623417,"results":"14","hashOfConfig":"10"},{"size":3182,"mtime":1609469754763,"results":"15","hashOfConfig":"10"},{"size":1827,"mtime":1609476782216,"results":"16","hashOfConfig":"10"},{"size":768,"mtime":1609460602812,"results":"17","hashOfConfig":"10"},{"filePath":"18","messages":"19","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"20"},"163zon6",{"filePath":"21","messages":"22","errorCount":0,"warningCount":11,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"23","messages":"24","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"25","messages":"26","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0,"usedDeprecatedRules":"27"},{"filePath":"28","messages":"29","errorCount":0,"warningCount":9,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"30","messages":"31","errorCount":0,"warningCount":4,"fixableErrorCount":0,"fixableWarningCount":0,"source":null},{"filePath":"32","messages":"33","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"34","messages":"35","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"/mnt/c/Users/wangj/Documents/dex-whales/src/reportWebVitals.js",[],["36","37"],"/mnt/c/Users/wangj/Documents/dex-whales/src/App.js",["38","39","40","41","42","43","44","45","46","47","48"],"/mnt/c/Users/wangj/Documents/dex-whales/src/const.js",[],"/mnt/c/Users/wangj/Documents/dex-whales/src/index.js",[],["49","50"],"/mnt/c/Users/wangj/Documents/dex-whales/src/Card.js",["51","52","53","54","55","56","57","58","59"],"/mnt/c/Users/wangj/Documents/dex-whales/src/utils.js",["60","61","62","63"],"/mnt/c/Users/wangj/Documents/dex-whales/src/Tip.js",[],"/mnt/c/Users/wangj/Documents/dex-whales/src/serviceWorker.js",[],{"ruleId":"64","replacedBy":"65"},{"ruleId":"66","replacedBy":"67"},{"ruleId":"68","severity":1,"message":"69","line":9,"column":36,"nodeType":"70","messageId":"71","endLine":9,"endColumn":48},{"ruleId":"68","severity":1,"message":"72","line":166,"column":9,"nodeType":"70","messageId":"71","endLine":166,"endColumn":21},{"ruleId":"73","severity":1,"message":"74","line":170,"column":26,"nodeType":"75","messageId":"76","endLine":170,"endColumn":28},{"ruleId":"73","severity":1,"message":"74","line":196,"column":29,"nodeType":"75","messageId":"76","endLine":196,"endColumn":31},{"ruleId":"73","severity":1,"message":"74","line":196,"column":55,"nodeType":"75","messageId":"76","endLine":196,"endColumn":57},{"ruleId":"73","severity":1,"message":"74","line":196,"column":84,"nodeType":"75","messageId":"76","endLine":196,"endColumn":86},{"ruleId":"77","severity":1,"message":"78","line":209,"column":20,"nodeType":"70","messageId":"79","endLine":209,"endColumn":26},{"ruleId":"77","severity":1,"message":"78","line":216,"column":20,"nodeType":"70","messageId":"79","endLine":216,"endColumn":26},{"ruleId":"73","severity":1,"message":"74","line":248,"column":28,"nodeType":"75","messageId":"76","endLine":248,"endColumn":30},{"ruleId":"80","severity":1,"message":"81","line":271,"column":6,"nodeType":"82","endLine":271,"endColumn":30,"suggestions":"83"},{"ruleId":"80","severity":1,"message":"84","line":283,"column":6,"nodeType":"82","endLine":283,"endColumn":8,"suggestions":"85"},{"ruleId":"64","replacedBy":"86"},{"ruleId":"66","replacedBy":"87"},{"ruleId":"68","severity":1,"message":"88","line":1,"column":10,"nodeType":"70","messageId":"71","endLine":1,"endColumn":19},{"ruleId":"68","severity":1,"message":"89","line":1,"column":21,"nodeType":"70","messageId":"71","endLine":1,"endColumn":29},{"ruleId":"90","severity":1,"message":"91","line":13,"column":5,"nodeType":"92","messageId":"93","endLine":28,"endColumn":6},{"ruleId":"94","severity":1,"message":"95","line":39,"column":21,"nodeType":"96","messageId":"97","endLine":39,"endColumn":22,"suggestions":"98"},{"ruleId":"94","severity":1,"message":"95","line":44,"column":21,"nodeType":"96","messageId":"97","endLine":44,"endColumn":22,"suggestions":"99"},{"ruleId":"100","severity":1,"message":"101","line":70,"column":51,"nodeType":"102","endLine":70,"endColumn":68},{"ruleId":"100","severity":1,"message":"101","line":80,"column":42,"nodeType":"102","endLine":80,"endColumn":59},{"ruleId":"100","severity":1,"message":"101","line":83,"column":42,"nodeType":"102","endLine":83,"endColumn":59},{"ruleId":"103","severity":1,"message":"104","line":88,"column":17,"nodeType":"105","endLine":95,"endColumn":18},{"ruleId":"73","severity":1,"message":"74","line":51,"column":14,"nodeType":"75","messageId":"76","endLine":51,"endColumn":16},{"ruleId":"90","severity":1,"message":"91","line":69,"column":5,"nodeType":"92","messageId":"93","endLine":85,"endColumn":6},{"ruleId":"94","severity":1,"message":"95","line":93,"column":21,"nodeType":"96","messageId":"97","endLine":93,"endColumn":22,"suggestions":"106"},{"ruleId":"94","severity":1,"message":"95","line":98,"column":21,"nodeType":"96","messageId":"97","endLine":98,"endColumn":22,"suggestions":"107"},"no-native-reassign",["108"],"no-negated-in-lhs",["109"],"no-unused-vars","'action_types' is defined but never used.","Identifier","unusedVar","'notification' is assigned a value but never used.","eqeqeq","Expected '===' and instead saw '=='.","BinaryExpression","unexpected","no-redeclare","'action' is already defined.","redeclared","react-hooks/exhaustive-deps","React Hook useEffect has a missing dependency: 'refreshDisplay'. Either include it or remove the dependency array.","ArrayExpression",["110"],"React Hook useEffect has a missing dependency: 'refreshData'. Either include it or remove the dependency array.",["111"],["108"],["109"],"'useEffect' is defined but never used.","'useState' is defined but never used.","default-case","Expected a default case.","SwitchStatement","missingDefaultCase","no-useless-escape","Unnecessary escape character: \\$.","TemplateElement","unnecessaryEscape",["112","113"],["114","115"],"react/jsx-no-target-blank","Using target=\"_blank\" without rel=\"noreferrer\" is a security risk: see https://html.spec.whatwg.org/multipage/links.html#link-type-noopener","JSXAttribute","jsx-a11y/alt-text","img elements must have an alt prop, either with meaningful text, or an empty string for decorative images.","JSXOpeningElement",["116","117"],["118","119"],"no-global-assign","no-unsafe-negation",{"desc":"120","fix":"121"},{"desc":"122","fix":"123"},{"messageId":"124","fix":"125","desc":"126"},{"messageId":"127","fix":"128","desc":"129"},{"messageId":"124","fix":"130","desc":"126"},{"messageId":"127","fix":"131","desc":"129"},{"messageId":"124","fix":"132","desc":"126"},{"messageId":"127","fix":"133","desc":"129"},{"messageId":"124","fix":"134","desc":"126"},{"messageId":"127","fix":"135","desc":"129"},"Update the dependencies array to be: [txData, selectedTokens, refreshDisplay]",{"range":"136","text":"137"},"Update the dependencies array to be: [refreshData]",{"range":"138","text":"139"},"removeEscape",{"range":"140","text":"141"},"Remove the `\\`. This maintains the current functionality.","escapeBackslash",{"range":"142","text":"143"},"Replace the `\\` with `\\\\` to include the actual backslash character.",{"range":"144","text":"141"},{"range":"145","text":"143"},{"range":"146","text":"141"},{"range":"147","text":"143"},{"range":"148","text":"141"},{"range":"149","text":"143"},[7449,7473],"[txData, selectedTokens, refreshDisplay]",[7727,7729],"[refreshData]",[1284,1285],"",[1284,1284],"\\",[1403,1404],[1403,1403],[2502,2503],[2502,2502],[2621,2622],[2621,2621]]
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@
"react-loader-spinner": "^3.1.14",
"react-scripts": "4.0.1",
"react-select": "^3.1.1",
"web-vitals": "^0.2.4"
"react-use-localstorage": "^3.5.3",
"web-vitals": "^0.2.4",
"workerize-loader": "^1.3.0"
},
"scripts": {
"start": "react-scripts start",
Expand Down
5 changes: 2 additions & 3 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
content="Monitoring Whale Activities"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<!--
Expand All @@ -24,10 +24,9 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>React App</title>
<title>πŸ§π˜Ώπ™€π™“ π™’π™ƒπ˜Όπ™‡π™€π™Ž</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
Expand Down
Loading

1 comment on commit fb368a3

@vercel
Copy link

@vercel vercel bot commented on fb368a3 Jan 1, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.