You've already forked authentication-service
mirror of
https://github.com/matrix-org/matrix-authentication-service.git
synced 2025-11-21 23:00:50 +03:00
WIP my account page
This commit is contained in:
@@ -28,6 +28,7 @@ export const HydrateAtoms = ({ children }: { children: ReactElement }) => {
|
||||
const CURRENT_VIEWER_QUERY = graphql(/* GraphQL */ `
|
||||
query CurrentViewerQuery {
|
||||
viewer {
|
||||
__typename
|
||||
... on User {
|
||||
id
|
||||
}
|
||||
@@ -52,6 +53,7 @@ export const currentUserIdAtom = atom(async (get) => {
|
||||
const CURRENT_VIEWER_SESSION_QUERY = graphql(/* GraphQL */ `
|
||||
query CurrentViewerSessionQuery {
|
||||
viewerSession {
|
||||
__typename
|
||||
... on BrowserSession {
|
||||
id
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user