Skip to content

Commit bb58860

Browse files
committed
fix: theme loading on startup
Signed-off-by: Adam Setch <[email protected]>
1 parent 4ee4fe0 commit bb58860

File tree

3 files changed

+16
-37
lines changed

3 files changed

+16
-37
lines changed

src/renderer/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const App = () => {
3939
<BaseStyles>
4040
<AppProvider>
4141
<Router>
42-
<div className="flex h-screen overflow-y-auto flex-col pl-12 bg-gitify-background">
42+
<div className="flex h-full overflow-y-auto flex-col pl-12 bg-gitify-background">
4343
<Loading />
4444
<Sidebar />
4545
<Routes>

src/renderer/routes/Notifications.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { type FC, useContext, useMemo } from 'react';
33
import { AllRead } from '../components/AllRead';
44
import { Oops } from '../components/Oops';
55
import { AccountNotifications } from '../components/notifications/AccountNotifications';
6-
import { Page } from '../components/primitives/Page';
76
import { AppContext } from '../context/App';
87
import { getAccountUUID } from '../utils/auth/utils';
98
import { Errors } from '../utils/errors';
@@ -37,7 +36,7 @@ export const NotificationsRoute: FC = () => {
3736
}
3837

3938
return (
40-
<Page id="notifications">
39+
<>
4140
{notifications.map((accountNotifications) => (
4241
<AccountNotifications
4342
key={getAccountUUID(accountNotifications.account)}
@@ -47,6 +46,6 @@ export const NotificationsRoute: FC = () => {
4746
showAccountHeader={hasMultipleAccounts || settings.showAccountHeader}
4847
/>
4948
))}
50-
</Page>
49+
</>
5150
);
5251
};

src/renderer/routes/__snapshots__/Notifications.test.tsx.snap

Lines changed: 13 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)