MCPcopy Create free account
hub / github.com/MankaiHuang/screen-visualization / SecurityLayout

Class SecurityLayout

src/layouts/SecurityLayout.jsx:10–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8const code = location.search.split('=')[1]
9
10class SecurityLayout extends React.Component {
11 render() {
12 const { children, loading, currentUser } = this.props;
13 if ((loading) ) {
14 return <PageLoading />;
15 }
16 return children;
17 }
18}
19
20export default connect(({ user, loading }) => ({
21 user,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected