Skip to content

Commit 8304749

Browse files
committed
react flag fix
1 parent bba7488 commit 8304749

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

src/Declarations/ApiFix.d.ts

+4
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,7 @@ interface NewLuaMetatable<T> {
2727
}
2828

2929
declare function setmetatable<T extends object>(object: T, metatable: NewLuaMetatable<T>): T;
30+
31+
interface _G {
32+
__ROACT_17_MOCK_SCHEDULER__?: boolean | undefined;
33+
}

src/UILabs.server.tsx

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1+
_G.__ROACT_17_MOCK_SCHEDULER__ = undefined;
2+
13
import { RunService } from "@rbxts/services";
2-
import App from "UI/App";
34
import React from "@rbxts/react";
45
import Plugin from "UI/Plugin";
56
import { Root, createLegacyRoot, createPortal } from "@rbxts/react-roblox";

0 commit comments

Comments
 (0)