Skip to content

Commit 894accc

Browse files
committed
refactor: account notifications
Signed-off-by: Adam Setch <[email protected]>
1 parent 3d5ef35 commit 894accc

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

src/renderer/context/App.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,6 @@ import {
4747
setUseAlternateIdleIcon,
4848
setUseUnreadActiveIcon,
4949
} from '../utils/comms';
50-
import {
51-
getNotificationCount,
52-
getUnreadNotificationCount,
53-
} from '../utils/notifications/notifications';
5450
import { clearState, loadState, saveState } from '../utils/storage';
5551
import {
5652
DEFAULT_DAY_COLOR_SCHEME,

src/renderer/utils/notifications/utils.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ describe('renderer/utils/notifications/utils.ts', () => {
2121
},
2222
];
2323

24-
const result = getNewNotifications([], newNotifications);
24+
const result = getNewNotifications([], newAccountNotifications);
2525

2626
expect(result).toHaveLength(3);
2727
expect(result.map((n) => n.id)).toEqual(['1', '2', '3']);

0 commit comments

Comments
 (0)