diff --git a/packages/physics/src/persea/traits/collider.jsx b/packages/physics/src/persea/traits/collider.jsx index fa53ad0..dce4487 100644 --- a/packages/physics/src/persea/traits/collider.jsx +++ b/packages/physics/src/persea/traits/collider.jsx @@ -19,7 +19,7 @@ const Collider = ({ }) => { const latus = useLatus(); const patch = useJsonPatcher(); - const [context, setContext] = useState(entity.createContext()); + const [context, setContext] = useState(() => entity.createContext()); useEffect(() => { const createContext = async () => { setContext(entity.createContext({