Skip to content

Commit a5c5e2a

Browse files
committed
chore(dashboard): fix build
1 parent 12eaf75 commit a5c5e2a

File tree

1 file changed

+2
-2
lines changed
  • packages/apps/app-dashboard/src/components/user-dashboard/connect

1 file changed

+2
-2
lines changed

packages/apps/app-dashboard/src/components/user-dashboard/connect/Connect.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { useEffect, useState, useCallback } from 'react';
1+
import { useEffect, useState, useCallback, Dispatch, SetStateAction } from 'react';
22
import * as Sentry from '@sentry/react';
33
import { AUTH_METHOD_TYPE } from '@lit-protocol/constants';
44
import { SessionSigs } from '@lit-protocol/types';
@@ -20,7 +20,7 @@ type ConnectViewProps = {
2020
theme: ThemeType;
2121
readAuthInfo: ReadAuthInfo;
2222
view?: AuthView;
23-
setView?: (view: AuthView) => void;
23+
setView?: Dispatch<SetStateAction<AuthView>>;
2424
};
2525

2626
export default function ConnectView({

0 commit comments

Comments
 (0)