You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-11-20 12:02:22 +03:00
frontend: add tests & stories for many components
Also more compound adoption Also prettier upgrade
This commit is contained in:
@@ -79,7 +79,7 @@ const oauth2SessionListFamily = atomFamily((userId: string) => {
|
||||
|
||||
const oauth2SessionList = mapQueryAtom(
|
||||
oauth2SessionListQuery,
|
||||
(data) => data.user?.oauth2Sessions || null
|
||||
(data) => data.user?.oauth2Sessions || null,
|
||||
);
|
||||
|
||||
return oauth2SessionList;
|
||||
@@ -97,7 +97,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