This repository has been archived by the owner on Nov 10, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 362
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #265 from gnosis/release-without-tx-history-servic…
…e-refactor Release without tx history service refactor
- Loading branch information
Showing
30 changed files
with
788 additions
and
1,775 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
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,23 @@ | ||
// @flow | ||
import React from 'react' | ||
import { makeStyles } from '@material-ui/core/styles' | ||
import ReactDOM from 'react-dom' | ||
import Backdrop from '@material-ui/core/Backdrop' | ||
|
||
const useStyles = makeStyles({ | ||
root: { | ||
zIndex: 1300, | ||
}, | ||
}) | ||
|
||
const BackdropLayout = ({ isOpen = false }: { isOpen: boolean }) => { | ||
if (!isOpen) { | ||
return null | ||
} | ||
|
||
const classes = useStyles() | ||
|
||
return ReactDOM.createPortal(<Backdrop classes={{ root: classes.root }} open />, document.body) | ||
} | ||
|
||
export default BackdropLayout |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
Oops, something went wrong.