You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-11-24 23:01:05 +03:00
frontend: add tests & stories for many components
Also more compound adoption Also prettier upgrade
This commit is contained in:
@@ -81,7 +81,7 @@ const browserSessionListFamily = atomFamily((userId: string) => {
|
||||
|
||||
const browserSessionList = mapQueryAtom(
|
||||
browserSessionListQuery,
|
||||
(data) => data.user?.browserSessions || null
|
||||
(data) => data.user?.browserSessions || null,
|
||||
);
|
||||
|
||||
return browserSessionList;
|
||||
@@ -98,7 +98,7 @@ const pageInfoFamily = atomFamily((userId: string) => {
|
||||
const paginationFamily = atomFamily((userId: string) => {
|
||||
const paginationAtom = atomWithPagination(
|
||||
currentPaginationAtom,
|
||||
pageInfoFamily(userId)
|
||||
pageInfoFamily(userId),
|
||||
);
|
||||
|
||||
return paginationAtom;
|
||||
|
||||
Reference in New Issue
Block a user