mirror of
https://github.com/checktheroads/hyperglass
synced 2024-05-11 05:55:08 +00:00
continue typescript & chakra v1 migrations [skip ci]
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import { Flex, Spinner } from '@chakra-ui/react';
|
||||
import { useColorValue } from '~/context';
|
||||
|
||||
export const Loading: React.FC = () => {
|
||||
import type { LoadableBaseOptions } from 'next/dynamic';
|
||||
|
||||
export const Loading: LoadableBaseOptions['loading'] = () => {
|
||||
const bg = useColorValue('white', 'black');
|
||||
const color = useColorValue('black', 'white');
|
||||
return (
|
||||
|
Reference in New Issue
Block a user