Skip to content

Commit 038a582

Browse files
committed
Fix function type
Signed-off-by: Ryan Luu <ryan.luu@ryanluu.dev>
1 parent a2f18c2 commit 038a582

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/Components/Backpack.luau

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ local function Backpack(props: Props)
3737
if props.onAbsoluteSizeChanged then
3838
props.onAbsoluteSizeChanged(rbx.AbsoluteSize)
3939
end
40-
end,
40+
end :: any,
4141
}, {
4242
Hotbar = React.createElement(Hotbar, {
4343
forceKeyboardHintVisible = props.forceKeyboardHintVisible,

src/Components/Searchbar.luau

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ local function Searchbar(props: Props)
1515
[React.Tag] = "Searchbar",
1616
[React.Change.Text] = function(rbx)
1717
setText(rbx.Text)
18-
end,
18+
end :: any,
1919
}, {
2020
Clear = React.createElement("ImageButton", {
2121
Visible = text ~= "",

src/Components/Slot.luau

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ local function Slot(props: Props)
8080
if props.tool then
8181
setEquipped(not equipped)
8282
end
83-
end,
83+
end :: any,
8484
}, {
8585
NumberHint = React.createElement("TextLabel", {
8686
Text = slotNumber,

0 commit comments

Comments
 (0)