1
0
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:
checktheroads
2020-12-11 09:55:21 -07:00
parent 781a2608a0
commit be601e4aef
43 changed files with 2042 additions and 2083 deletions

View File

@@ -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 (