You've already forked authentication-service
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:
@@ -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]]);
|
||||
|
||||
Reference in New Issue
Block a user