Skip to content

Commit 8364615

Browse files
chore:added initial value for useRef statement within src/app/interface/panel/index.tsx to not run into additional build related errors.
1 parent b067a85 commit 8364615

File tree

1 file changed

+1
-1
lines changed
  • arise-my-manhwa/src/app/interface/panel

1 file changed

+1
-1
lines changed

arise-my-manhwa/src/app/interface/panel/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ export function Panel({
113113
const [revision, setRevision] = useState(0);
114114

115115
// keep a ref in sync
116-
const renderedRef = useRef<RenderedScene>();
116+
const renderedRef = useRef<RenderedScene>(null);
117117
const renderedKey = JSON.stringify(rendered);
118118
useEffect(() => {
119119
renderedRef.current = rendered;

0 commit comments

Comments
 (0)