File tree 2 files changed +2
-7
lines changed
modules/react-reconciler/src
2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -26,12 +26,7 @@ type FiberRoot = ReactInternalTypes.FiberRoot
26
26
local LEVEL_ROOTS = 1 -- Level 1: Roots + Commit time
27
27
local LEVEL_FIBERS = 10 -- Level 10: Individual Fiber "units of work"
28
28
29
- local loadedFlag , ReactMicroprofilerLevel = pcall (function ()
30
- return game :DefineFastInt ("ReactMicroprofilerLevel" , 0 )
31
- end )
32
- if not loadedFlag then
33
- ReactMicroprofilerLevel = 0
34
- end
29
+ local ReactMicroprofilerLevel = _G .__REACT_MICROPROFILER_LEVEL or 0
35
30
36
31
export type Marker = {
37
32
id : string ,
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ rm -rf roblox/node_modules
6
6
7
7
mkdir -p roblox
8
8
9
- cp -rL node_modules/ roblox/
9
+ cp -rL node_modules/ roblox/node_modules/
10
10
11
11
./scripts/remove-tests.sh roblox/node_modules
12
12
You can’t perform that action at this time.
0 commit comments