Skip to content

Commit 97c5003

Browse files
author
Paul Asjes
authored
Fix comparison, also fix some quotes (#24)
* Fix comparison, also fix some quotes * Rebase main and go back to double quotations
1 parent f5cb927 commit 97c5003

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/provider.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ function isEquivalentWorkOSSession(
9191
return (
9292
a.user?.updatedAt === b.user?.updatedAt &&
9393
a.organizationId === b.organizationId &&
94-
b.role === b.role &&
94+
a.role === b.role &&
9595
a.permissions.every((perm, i) => perm === b.permissions[i])
9696
);
9797
}

0 commit comments

Comments
 (0)