Skip to content

Commit

Permalink
chore: import/order
Browse files Browse the repository at this point in the history
  • Loading branch information
webbertakken committed Aug 19, 2023
1 parent 9b50b9e commit 90040fc
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion src/components/auth/safe-auth-check.tsx
Original file line number Diff line number Diff line change
@@ -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) {
Expand Down
Original file line number Diff line number Diff line change
@@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/components/docs/versions/image-versions.tsx
Original file line number Diff line number Diff line change
@@ -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;
Expand Down
4 changes: 2 additions & 2 deletions src/components/docs/versions/unity-version.tsx
Original file line number Diff line number Diff line change
@@ -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;

Expand Down
4 changes: 2 additions & 2 deletions src/components/docs/versions/versions.tsx
Original file line number Diff line number Diff line change
@@ -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 = <p>Fetching versions...</p>;
Expand Down
4 changes: 2 additions & 2 deletions src/components/pages/home/section/getting-started.tsx
Original file line number Diff line number Diff line change
@@ -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 = () => {
Expand Down
2 changes: 1 addition & 1 deletion src/components/pages/home/section/opening-section.tsx
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
4 changes: 2 additions & 2 deletions src/components/pages/home/section/sponsors-section.tsx
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down
2 changes: 1 addition & 1 deletion src/components/pages/home/section/the-perks-section.tsx
Original file line number Diff line number Diff line change
@@ -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 = [
Expand Down
2 changes: 1 addition & 1 deletion src/core/hooks/use-authenticated-endpoint.tsx
Original file line number Diff line number Diff line change
@@ -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();
Expand Down
2 changes: 1 addition & 1 deletion src/pages/docs/docker/versions.tsx
Original file line number Diff line number Diff line change
@@ -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';

Expand Down
2 changes: 1 addition & 1 deletion src/theme/Root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 });

Expand Down

0 comments on commit 90040fc

Please sign in to comment.