Skip to content

Commit

Permalink
fixed merge conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
BboyAkers authored and kriszyp committed Dec 4, 2024
1 parent da68bc0 commit 8521ab6
Showing 1 changed file with 20 additions and 23 deletions.
43 changes: 20 additions & 23 deletions src/components/layouts/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,8 @@ function App() {
}, [auth?.email]);

useEffect(() => {
<<<<<<< HEAD
if (showVersionAlert) alert.info(`HarperDB Studio v${showVersionAlert} is now available. Refresh to update.`, versionAlertOptions);
=======
if (showVersionAlert)
alert.info(`HarperDB Studio v${showVersionAlert} is now available. Refresh to update.`, versionAlertOptions);
>>>>>>> 69a3fc8c (formatted the app via prettier)
// eslint-disable-next-line
}, [showVersionAlert]);

Expand Down Expand Up @@ -147,11 +143,13 @@ function App() {
) : loggedIn ? (
<main id="app-container">
<ErrorBoundary FallbackComponent={ErrorFallback}>
<Suspense fallback={
<div className="auth-centered-container">
<Loader header=" " spinner />
</div>
}>
<Suspense
fallback={
<div className="auth-centered-container">
<Loader header=" " spinner />
</div>
}
>
{/* can we put instance routes in here, each in a suspense tag (since they're lazily loaded) */}
<Routes>
<Route element={isMaintenance ? <Maintenance /> : <UpdatePassword />} path="/update-password" />
Expand Down Expand Up @@ -187,7 +185,7 @@ function App() {
<span className="item-subtitle">
HarperDB components give you unlimited application flexibility.
</span>
</li >
</li>
<li>
<h3 className="item-title">Fully Managed Cloud & 5G Instances</h3>
<span className="item-subtitle">Go from zero to code in minutes.</span>
Expand Down Expand Up @@ -219,11 +217,11 @@ function App() {
>
all options
</a>
</div >
</li >
</ul >
</div >
</Col >
</div>
</li>
</ul>
</div>
</Col>
<Col className="p-5 d-flex justify-content-center align-items-center auth-form-container">
<Routes>
<Route element={<SignIn />} path="/" />
Expand All @@ -232,19 +230,18 @@ function App() {
<Route path="*" element={<Navigate to={`/?redirect=${pathname}${search}`} replace />} />
</Routes>
</Col>
</Row >
</Container >
</Suspense >
</ErrorBoundary >
</main >
)
}
</Row>
</Container>
</Suspense>
</ErrorBoundary>
</main>
)}
<div id="app-bg-color" />
<div className="version">
HarperDB Studio v{config.studio_version}
{version.maintenance && ' - MAINTENANCE MODE'}
</div>
</div >
</div>
);
}

Expand Down

0 comments on commit 8521ab6

Please sign in to comment.