More typing
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import { Stack } from '@mantine/core';
|
||||
import { stackClasses } from 'styles';
|
||||
|
||||
export function Loading({ loaded }: any) {
|
||||
export function Loading({ loaded }: { loaded: boolean }) {
|
||||
return (
|
||||
<Stack
|
||||
className={stackClasses.fadeAway}
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
import { Box } from '@mantine/core';
|
||||
import type { Theme } from 'types';
|
||||
|
||||
export function ThemeProvider({
|
||||
theme,
|
||||
children,
|
||||
}: { theme: any; children: React.ReactNode }) {
|
||||
}: { theme: Theme; children: React.ReactNode }) {
|
||||
return (
|
||||
<Box
|
||||
style={{
|
||||
|
||||
Reference in New Issue
Block a user