We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04d8208 commit 2b96b2fCopy full SHA for 2b96b2f
packages/use-shader-fx/src/hooks/useBlank/index.tsx
@@ -79,7 +79,7 @@ export const useBlank = ({
79
const render = useCallback(
80
(rootState: RootState, newValues?: {} & BlankConfig) => {
81
const { gl, clock, pointer } = rootState;
82
- newValues && setValues(newValues);
+ if (newValues) setValues(newValues);
83
material.uniforms.time.value = clock.getElapsedTime();
84
material.uniforms.pointer.value.lerp(
85
pointer,
0 commit comments