Skip to content

Commit

Permalink
chore: message for rhala (#123)
Browse files Browse the repository at this point in the history
* chore: message for rhala

* chore: remove commented code
  • Loading branch information
wainola authored Nov 15, 2023
1 parent 2acac79 commit a7d4a78
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
15 changes: 15 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import CssBaseline from "@mui/material/CssBaseline"
import { ThemeProvider } from "@mui/material/styles"
import { Routes, Route, BrowserRouter as Router } from "react-router-dom"
import { Alert } from "@mui/material"
import { ExplorerPage, DetailView } from "./pages"
import { SygmaTheme } from "./themes/SygmaTheme"
import { ExplorerProvider } from "./context"
Expand All @@ -25,6 +26,20 @@ function App(): JSX.Element {
</Routes>
</Router>
</ExplorerProvider>
<div
style={{
display: "flex",
flexDirection: "row",
justifyContent: "center",
alignItems: "center",
marginTop: "10px",
width: "100%",
}}
>
<Alert severity="error" variant="outlined">
Currently Rhala network is not available for transfers!
</Alert>
</div>
<div
style={{
display: "flex",
Expand Down
2 changes: 1 addition & 1 deletion src/pages/ExplorerPage/ExplorerPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const initState: ExplorerPageState = {

const ExplorerPage = (): JSX.Element => {
const explorerContext = useExplorer()
const { explorerContextDispatcher, explorerContextState, routes, sharedConfig, explorerUrls } = explorerContext
const { explorerContextDispatcher, explorerContextState, routes, sharedConfig } = explorerContext

const { chains } = explorerContextState

Expand Down

0 comments on commit a7d4a78

Please sign in to comment.