Skip to content

Commit d4843b1

Browse files
committed
refactor: remove redundant Object.values
Signed-off-by: Adam Setch <adam.setch@outlook.com>
1 parent 56b98ec commit d4843b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderer/components/notifications/AccountNotifications.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ export const AccountNotifications: FC<IAccountNotifications> = (
131131
{props.error && <Oops error={props.error} fullHeight={false} />}
132132
{!hasNotifications && !props.error && <AllRead fullHeight={false} />}
133133
{isGroupByRepository(settings)
134-
? Object.values(groupedNotifications).map((repoNotifications) => {
134+
? groupedNotifications.map((repoNotifications) => {
135135
const repoSlug = repoNotifications[0].repository.full_name;
136136

137137
return (

0 commit comments

Comments
 (0)