File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed
create-leo-app/template-nextjs-ts Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change 7878 template :
7979 - extension
8080 - nextjs-ts
81- - node-ts
8281 - offline-public-transaction-ts
8382 - react-leo
8483 # - react-managed-worker
Original file line number Diff line number Diff line change 22/// <reference types="next/image-types/global" />
33
44// NOTE: This file should not be edited
5- // see https://nextjs.org/docs/basic-features /typescript for more information.
5+ // see https://nextjs.org/docs/app/api-reference/config /typescript for more information.
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export default function Home() {
1717 workerRef . current ?. postMessage ( "execute" ) ;
1818 }
1919
20- const workerRef = useRef < Worker > ( ) ;
20+ const workerRef = useRef < Worker | null > ( null ) ;
2121
2222 interface AleoWorkerMessageEvent {
2323 type : string ;
You can’t perform that action at this time.
0 commit comments