Skip to content

Commit 678b186

Browse files
committed
Convert to React
1 parent 6b90efe commit 678b186

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"devDependencies": {
1515
"@biomejs/biome": "^1.5.3",
1616
"@rbxts/compiler-types": "^2.3.0-types.0",
17-
"@rbxts/react-reflex": "^0.3.0",
17+
"@rbxts/react-reflex": "^0.3.1",
1818
"@rbxts/react-roblox": "^0.3.0",
1919
"@rbxts/reflex": "^4.3.1",
2020
"@rbxts/services": "^1.5.4",

src/app/actionSelection.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import inspect from "@rbxts/inspect"
22
import React, { memo, useMemo } from "@rbxts/react"
33
import { useRootProducer, useRootSelector } from "store"
4-
import { Action } from "store/game"
4+
import { Action } from "store/host"
55

66
interface Props {
77
action: Action

src/app/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ const ROW_HEIGHT = 30
1414
export function App() {
1515
const store = useRootProducer()
1616

17-
const actions = useRootSelector((state) => state.game.actions)
17+
const actions = useRootSelector((state) => state.host.actions)
1818
const selectedIndex = useRootSelector((state) => state.widget.selectedIndex)
1919
const autoSelectLatest = useRootSelector((state) => state.widget.autoSelectLatest)
2020
const showArgs = useRootSelector((state) => state.widget.showArgs)

0 commit comments

Comments
 (0)