Execute oxfmt (#1166)
Ran pnpm oxfmt . This should get the web repo aligned so that we can better enforce oxfmt going forward.
This commit is contained in:
@@ -5,7 +5,9 @@ import { MeshRegistryContext } from "../provider/MeshRegistryContext.ts";
|
||||
export function useMeshRegistry(): MeshRegistry {
|
||||
const registry = useContext(MeshRegistryContext);
|
||||
if (!registry) {
|
||||
throw new Error("useMeshRegistry must be called inside a <MeshRegistryProvider>.");
|
||||
throw new Error(
|
||||
"useMeshRegistry must be called inside a <MeshRegistryProvider>.",
|
||||
);
|
||||
}
|
||||
return registry;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user