diff --git a/src/components/auth/safe-auth-check.tsx b/src/components/auth/safe-auth-check.tsx index fa0eb5f2..4fa6523a 100644 --- a/src/components/auth/safe-auth-check.tsx +++ b/src/components/auth/safe-auth-check.tsx @@ -1,6 +1,6 @@ -import firebase from 'firebase'; import React from 'react'; import { AuthCheckProps, ClaimsCheckProps, useIdTokenResult, useUser } from 'reactfire'; +import firebase from 'firebase'; // Apply fix while this is not merged https://github.com/FirebaseExtended/reactfire/pull/336 export function SafeClaimsCheck({ user, fallback, children, requiredClaims }: ClaimsCheckProps) { diff --git a/src/components/docs/versions/docker-image-link-or-retry-button.tsx b/src/components/docs/versions/docker-image-link-or-retry-button.tsx index fea45071..bbd02291 100644 --- a/src/components/docs/versions/docker-image-link-or-retry-button.tsx +++ b/src/components/docs/versions/docker-image-link-or-retry-button.tsx @@ -1,10 +1,10 @@ +import { Tooltip } from 'antd'; +import React, { useState } from 'react'; +import { HiOutlineRefresh } from 'react-icons/hi'; import { SimpleAuthCheck } from '@site/src/components/auth/safe-auth-check'; import DockerImageLink from '@site/src/components/docs/versions/docker-image-link'; import { useAuthenticatedEndpoint } from '@site/src/core/hooks/use-authenticated-endpoint'; import { useNotification } from '@site/src/core/hooks/use-notification'; -import { Tooltip } from 'antd'; -import React, { useState } from 'react'; -import { HiOutlineRefresh } from 'react-icons/hi'; import Spinner from '@site/src/components/molecules/spinner'; interface Props { diff --git a/src/components/docs/versions/image-versions.tsx b/src/components/docs/versions/image-versions.tsx index c09b000a..87af2cbd 100644 --- a/src/components/docs/versions/image-versions.tsx +++ b/src/components/docs/versions/image-versions.tsx @@ -1,6 +1,6 @@ -import SignInSignOutButton from '@site/src/components/auth/sign-in-sign-out-button'; import { Select } from 'antd'; import React, { useState } from 'react'; +import SignInSignOutButton from '@site/src/components/auth/sign-in-sign-out-button'; import UnityVersions from './unity-versions'; const { Option } = Select; diff --git a/src/components/docs/versions/unity-version.tsx b/src/components/docs/versions/unity-version.tsx index 8f7081fb..2cdcac88 100644 --- a/src/components/docs/versions/unity-version.tsx +++ b/src/components/docs/versions/unity-version.tsx @@ -1,9 +1,9 @@ +import React from 'react'; +import { Collapse } from 'antd'; import Builds from '@site/src/components/docs/versions/builds'; import DateTime from '@site/src/components/docs/versions/date-time'; import ShowAndCopyChangeSetHashButton from '@site/src/components/docs/versions/show-and-copy-change-set-hash-button'; import Spinner from '@site/src/components/molecules/spinner'; -import React from 'react'; -import { Collapse } from 'antd'; const { Panel } = Collapse; diff --git a/src/components/docs/versions/versions.tsx b/src/components/docs/versions/versions.tsx index 884ec91b..a8e802e2 100644 --- a/src/components/docs/versions/versions.tsx +++ b/src/components/docs/versions/versions.tsx @@ -1,7 +1,7 @@ -import isServer from '@site/src/core/is-server'; -import ImageVersions from '@site/src/components/docs/versions/image-versions'; import React from 'react'; import { useFirestore, useFirestoreCollectionData } from 'reactfire'; +import isServer from '@site/src/core/is-server'; +import ImageVersions from '@site/src/components/docs/versions/image-versions'; const Versions = () => { const loading =

Fetching versions...

; diff --git a/src/components/pages/home/section/getting-started.tsx b/src/components/pages/home/section/getting-started.tsx index aba3da85..b03e3de7 100644 --- a/src/components/pages/home/section/getting-started.tsx +++ b/src/components/pages/home/section/getting-started.tsx @@ -1,8 +1,8 @@ -import FadeIntoView from '@site/src/components/molecules/animations/fade-into-view'; import Link from '@docusaurus/Link'; import React from 'react'; -import styles from '@site/src/components/pages/home/section/section.module.scss'; import cx from 'classnames'; +import styles from '@site/src/components/pages/home/section/section.module.scss'; +import FadeIntoView from '@site/src/components/molecules/animations/fade-into-view'; import Section from '@site/src/components/pages/home/section/section'; const GettingStarted = () => { diff --git a/src/components/pages/home/section/opening-section.tsx b/src/components/pages/home/section/opening-section.tsx index b85158b8..28494d48 100644 --- a/src/components/pages/home/section/opening-section.tsx +++ b/src/components/pages/home/section/opening-section.tsx @@ -1,8 +1,8 @@ import React, { createRef } from 'react'; import { Typography } from 'antd'; +import { useColorMode } from '@docusaurus/theme-common'; import GameCiLogo from '@site/static/assets/images/game-ci-brand-logo-wordmark.svg'; import GameCiLogoLight from '@site/static/assets/images/game-ci-brand-logo-wordmark-light.svg'; -import { useColorMode } from '@docusaurus/theme-common'; import Section from '@site/src/components/pages/home/section/section'; import FadeIntoView from '@site/src/components/molecules/animations/fade-into-view'; import styles from './section.module.scss'; diff --git a/src/components/pages/home/section/sponsors-section.tsx b/src/components/pages/home/section/sponsors-section.tsx index 31d7d5d3..30803549 100644 --- a/src/components/pages/home/section/sponsors-section.tsx +++ b/src/components/pages/home/section/sponsors-section.tsx @@ -1,9 +1,9 @@ -import FadeIntoView from '@site/src/components/molecules/animations/fade-into-view'; import Link from '@docusaurus/Link'; import React from 'react'; +import cx from 'classnames'; +import FadeIntoView from '@site/src/components/molecules/animations/fade-into-view'; import styles from '@site/src/components/pages/home/section/section.module.scss'; import Section from '@site/src/components/pages/home/section/section'; -import cx from 'classnames'; const SponsorsSection = () => { return ( diff --git a/src/components/pages/home/section/the-perks-section.tsx b/src/components/pages/home/section/the-perks-section.tsx index 54d957c1..9bb0c408 100644 --- a/src/components/pages/home/section/the-perks-section.tsx +++ b/src/components/pages/home/section/the-perks-section.tsx @@ -1,7 +1,7 @@ import React from 'react'; +import cx from 'classnames'; import Section from '@site/src/components/pages/home/section/section'; import FadeIntoView from '@site/src/components/molecules/animations/fade-into-view'; -import cx from 'classnames'; import styles from './section.module.scss'; const cards = [ diff --git a/src/core/hooks/use-authenticated-endpoint.tsx b/src/core/hooks/use-authenticated-endpoint.tsx index cd914a46..40881b79 100644 --- a/src/core/hooks/use-authenticated-endpoint.tsx +++ b/src/core/hooks/use-authenticated-endpoint.tsx @@ -1,5 +1,5 @@ -import config from '@site/src/core/config'; import { useUser } from 'reactfire'; +import config from '@site/src/core/config'; export function useAuthenticatedEndpoint(endpoint: string, payload: { [key: string]: any }) { const { data: user } = useUser(); diff --git a/src/pages/docs/docker/versions.tsx b/src/pages/docs/docker/versions.tsx index 9ff8f9ff..3de66428 100644 --- a/src/pages/docs/docker/versions.tsx +++ b/src/pages/docs/docker/versions.tsx @@ -1,9 +1,9 @@ import React from 'react'; import Layout from '@theme/Layout'; import useDocusaurusContext from '@docusaurus/useDocusaurusContext'; +import { useColorMode } from '@docusaurus/theme-common'; import Versions from '@site/src/components/docs/versions/versions'; -import { useColorMode } from '@docusaurus/theme-common'; import Section from '@site/src/components/pages/home/section/section'; import styles from '@site/src/components/pages/home/section/section.module.scss'; diff --git a/src/theme/Root.tsx b/src/theme/Root.tsx index 48fe64ff..f0ce32a4 100644 --- a/src/theme/Root.tsx +++ b/src/theme/Root.tsx @@ -5,9 +5,9 @@ import { IconContext } from 'react-icons'; import { Provider } from 'react-redux'; import { configureStore } from '@reduxjs/toolkit'; import { FirebaseAppProvider } from 'reactfire'; +import { Toaster } from 'react-hot-toast'; import config from '@site/src/core/config'; import { reducer } from '@site/src/logic'; -import { Toaster } from 'react-hot-toast'; const store = configureStore({ reducer });