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

Setup consistent import order and fix eslint errors

This commit is contained in:
Quentin Gliech
2023-04-27 20:43:41 +02:00
parent 3d6eba6acc
commit 826e84904e
26 changed files with 245 additions and 77 deletions

View File

@@ -12,13 +12,13 @@
// See the License for the specific language governing permissions and
// limitations under the License.
import type { ReactElement } from "react";
import { atom } from "jotai";
import { useHydrateAtoms } from "jotai/utils";
import { atomWithQuery, clientAtom } from "jotai-urql";
import type { ReactElement } from "react";
import { client } from "./graphql";
import { graphql } from "./gql";
import { client } from "./graphql";
export const HydrateAtoms = ({ children }: { children: ReactElement }) => {
useHydrateAtoms([[clientAtom, client]]);