mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-14 10:09:09 +03:00
More big updates (just incase hdd dies or something)
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user