1
0
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:
Quentin Gliech
2023-06-13 18:43:06 +02:00
parent b493f62251
commit 3672d2dbde
27 changed files with 2978 additions and 2580 deletions

View File

@@ -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;
};