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
Adopt eslint-config-matrix-org & bump deps
This commit is contained in:
@@ -20,7 +20,9 @@ import type { ReactElement } from "react";
|
||||
import { graphql } from "./gql";
|
||||
import { client } from "./graphql";
|
||||
|
||||
export const HydrateAtoms = ({ children }: { children: ReactElement }) => {
|
||||
export const HydrateAtoms: React.FC<{ children: ReactElement }> = ({
|
||||
children,
|
||||
}) => {
|
||||
useHydrateAtoms([[clientAtom, client]]);
|
||||
return children;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user