forked from wormhole-foundation/wormhole
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bridge_ui: Disable transfers from oasis and display network upgrade m…
…essage (wormhole-foundation#955)
- Loading branch information
1 parent
d1da117
commit f448375
Showing
3 changed files
with
33 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { makeStyles } from "@material-ui/core"; | ||
import { Alert } from "@material-ui/lab"; | ||
|
||
const useStyles = makeStyles((theme) => ({ | ||
alert: { | ||
marginTop: theme.spacing(1), | ||
marginBottom: theme.spacing(1), | ||
}, | ||
})); | ||
|
||
export default function OasisNetworkUpgradeWarning() { | ||
const classes = useStyles(); | ||
|
||
return ( | ||
<Alert variant="outlined" severity="warning" className={classes.alert}> | ||
Transfers from Oasis to other chains are currently unavailable due to a | ||
network software upgrade. Transfers from other chains to Oasis are | ||
unaffected. | ||
</Alert> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters