1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-11-21 23:00:50 +03:00

frontend: add tests & stories for many components

Also more compound adoption
Also prettier upgrade
This commit is contained in:
Quentin Gliech
2023-08-04 16:46:51 +02:00
parent c8ba2a1fa3
commit f001463585
52 changed files with 1246 additions and 193 deletions

View File

@@ -62,7 +62,7 @@ const endCompatSessionFamily = atomFamily((id: string) => {
// A proxy atom which pre-sets the id variable in the mutation
const endCompatSessionAtom = atom(
(get) => get(endCompatSession),
(get, set) => set(endCompatSession, { id })
(get, set) => set(endCompatSession, { id }),
);
return endCompatSessionAtom;