Skip to content

Commit

Permalink
fix(alerts): make Alerts a sibling of AuthBoundary
Browse files Browse the repository at this point in the history
  • Loading branch information
HendrikThePendric committed Nov 16, 2020
1 parent 9aea659 commit 2b607b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion adapter/src/components/AuthBoundary.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ export const AuthBoundary = ({ url, children }) => {
}

AuthBoundary.propTypes = {
children: PropTypes.node,
children: PropTypes.element,
url: PropTypes.string,
}
2 changes: 1 addition & 1 deletion adapter/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ const App = ({ url, apiVersion, appName, children }) => (
<HeaderBar appName={appName} />
<AuthBoundary url={url}>
<div className="app-shell-app">{children}</div>
<Alerts />
</AuthBoundary>
<Alerts />
</div>
</ServerVersionProvider>
</FatalErrorBoundary>
Expand Down

0 comments on commit 2b607b8

Please sign in to comment.