File tree Expand file tree Collapse file tree 3 files changed +3
-1
lines changed
scaffold-stark/CustomConnectButton Expand file tree Collapse file tree 3 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -73,6 +73,7 @@ export const Header = () => {
7373 const burgerMenuRef = useRef < HTMLDivElement > ( null ) ;
7474
7575 useOutsideClick (
76+ //@ts -expect-error refs are supposed to be null by default
7677 burgerMenuRef ,
7778 useCallback ( ( ) => setIsDrawerOpen ( false ) , [ ] ) ,
7879 ) ;
Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ export const AddressInfoDropdown = ({
5454 dropdownRef . current ?. removeAttribute ( "open" ) ;
5555 } ;
5656
57+ // @ts -expect-error ref are initialized with null by default
5758 useOutsideClick ( dropdownRef , closeDropdown ) ;
5859
5960 function handleConnectBurner (
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export type ScaffoldConfig = {
1111} ;
1212
1313const scaffoldConfig = {
14- targetNetworks : [ chains . devnet ] ,
14+ targetNetworks : [ chains . sepolia ] ,
1515 // Only show the Burner Wallet when running on devnet
1616 onlyLocalBurnerWallet : false ,
1717 rpcProviderUrl : process . env . NEXT_PUBLIC_PROVIDER_URL || "" ,
You can’t perform that action at this time.
0 commit comments