Skip to content

Commit 344a9bc

Browse files
chore:refactor
1 parent 2790399 commit 344a9bc

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

packages/nextjs/components/Header.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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
);

packages/nextjs/components/scaffold-stark/CustomConnectButton/AddressInfoDropdown.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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(

packages/nextjs/scaffold.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export type ScaffoldConfig = {
1111
};
1212

1313
const 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 || "",

0 commit comments

Comments
 (0)