diff --git a/hyperglass/ui/components/loading.tsx b/hyperglass/ui/components/loading.tsx index 52c537f..a4ec0e5 100644 --- a/hyperglass/ui/components/loading.tsx +++ b/hyperglass/ui/components/loading.tsx @@ -1,28 +1,24 @@ import { Flex, Spinner } from '@chakra-ui/react'; -import { useColorValue } from '~/context'; import type { LoadableBaseOptions } from 'next/dynamic'; -export const Loading: LoadableBaseOptions['loading'] = () => { - const bg = useColorValue('white', 'black'); - const color = useColorValue('black', 'white'); - return ( - - - - +export const Loading: LoadableBaseOptions['loading'] = () => ( + + + - ); -}; + +);