This commit is contained in:
Violet Caulfield
2025-02-16 18:45:31 -06:00
parent 6d46254770
commit b8dc4fa85b

View File

@@ -22,7 +22,7 @@ export function RunTimeTicks({ children } : { children: number | null | undefine
runOnRuntime(backgroundRuntime, (ticks : number) => {
'worklet';
time.set(calculateRunTimeFromTicks(ticks))
time.value = calculateRunTimeFromTicks(ticks)
})(children);
return (
@@ -30,7 +30,7 @@ export function RunTimeTicks({ children } : { children: number | null | undefine
style={{display: "block"}}
color="$borderColor"
>
{ time.value }
{ time.get() }
</Text>
)
}