From 3f68f6c916fc5fc3f48897cac27afa8e8acf3f00 Mon Sep 17 00:00:00 2001 From: vpcodebase <84332922+vpcodebase@users.noreply.github.com> Date: Tue, 6 Jul 2021 19:08:55 +0300 Subject: [PATCH] HashRouter (#14) * fix: search bar fix if number input, add badge (#2) * fix: search bar fix if number input, add badge for type in search bar, horfix for direct link in inventory page * fix: theme mode blink page * fix: write boolean in tx page * fix: styles for contract tab in address page * fix: remove btn * fix: env, results per page go to first page in grid. fix path for REACT_APP_EXPLORER_V1_API_URL * Update .env.example * fix: improve * fix: stable .env * fix: improve tx * fix: no update grid if tab not changed * fix: revert .env file * fix: add .env.development to gitignore * env var description * Update .env * fix: set to REACT_APP_PROD_ADDRESS socket * Update .env * fix: timeout for ERCpools * fix: timeout instead intervals * fix: setTimeout * fix: catch erc pools requests * fix: remove catch section * fix: hashRouter instead BrowserRouter Co-authored-by: potvik <57394565+potvik@users.noreply.github.com> Co-authored-by: Hype --- src/App.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index fa769e1..a861740 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,7 +1,7 @@ import React, { useEffect } from "react"; import "./index.css"; import { Box, Grommet } from "grommet"; -import { BrowserRouter as Router, useHistory } from "react-router-dom"; +import { HashRouter as Router, useHistory } from "react-router-dom"; import { Routes } from "src/Routes"; import { AppHeader } from "src/components/appHeader";