Skip to content

Commit

Permalink
Fix/ws chart (#178)
Browse files Browse the repository at this point in the history
* fix: comment ws

* fix: remove hard code

* bump: up version
  • Loading branch information
quangdz1704 authored Feb 21, 2024
1 parent aa93283 commit bd14f31
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/oraidex-common-ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oraichain/oraidex-common-ui",
"version": "1.0.8",
"version": "1.0.9",
"files": [
"dist/"
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,10 @@ export const getTokenChartPrice = async ({
}
});

if (symbol === "NTMPI/USDC") {
const TWO_PM_TIMESTAMP = 1708412400;
return res.data && res.data.filter((item) => Number(item.time) >= TWO_PM_TIMESTAMP);
}
// if (symbol === "NTMPI/USDC") {
// const TWO_PM_TIMESTAMP = 1708412400;
// return res.data && res.data.filter((item) => Number(item.time) >= TWO_PM_TIMESTAMP);
// }

return res.data;
} catch (e) {
Expand Down

0 comments on commit bd14f31

Please sign in to comment.