More big updates (just incase hdd dies or something)

This commit is contained in:
zkldi
2021-07-29 19:15:24 +01:00
parent 3a80c4ac93
commit bc6d4e4d60
16 changed files with 404 additions and 40 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ export default function AsyncLoader<T = unknown>({
}: {
promiseFn?: () => Promise<T>;
promise?: Promise<T>;
children: (data: T) => JSX.Element;
children: (data: T) => JSX.Element | null | string | (JSX.Element | string)[];
}) {
const Component = children;
return (