You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
300 B
10 lines
300 B
import { useMisc } from "@/video/state/logic/misc"; |
|
import { useMemo } from "react"; |
|
|
|
export function useInitialized(descriptor: string): { initialized: boolean } { |
|
const misc = useMisc(descriptor); |
|
const initialized = useMemo(() => !!misc.initalized, [misc]); |
|
return { |
|
initialized, |
|
}; |
|
}
|
|
|