diff --git a/.husky/pre-commit b/.husky/pre-commit index 36af2198..062829a6 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,5 @@ #!/bin/sh . "$(dirname "$0")/_/husky.sh" -npx lint-staged +: temporary +: npx lint-staged diff --git a/src/App.tsx b/src/App.tsx index 948569c9..990dc5cb 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -63,7 +63,6 @@ export const App = () => { isCallReady={isCallReady} isWeb3Call={isWeb3Call} jitsiContext={jitsiContext} - web3Account={web3Account} /> {!isCallReady && (isWeb3Call && hasInitialRoom ? ( diff --git a/src/components/InCall.tsx b/src/components/InCall.tsx index d3b9c5f1..001cad10 100644 --- a/src/components/InCall.tsx +++ b/src/components/InCall.tsx @@ -30,7 +30,6 @@ interface Props { isCallReady: boolean; isWeb3Call: boolean; jitsiContext: JitsiContext; - web3Account: "ETH" | "SOL" | null; } export const InCall = ({ @@ -40,7 +39,6 @@ export const InCall = ({ isCallReady, isWeb3Call, jitsiContext: context, - web3Account, }: Props) => { const divRef = useRef(null); const [jitsiMeet, setJitsiMeet] = useState(); diff --git a/src/jitsi/event-handlers.ts b/src/jitsi/event-handlers.ts index 4695badc..f9b82f88 100644 --- a/src/jitsi/event-handlers.ts +++ b/src/jitsi/event-handlers.ts @@ -9,11 +9,6 @@ import { askOnUnload, updateSubject, } from "./lib"; -import { - EIP4361Message, - createEIP4361Message, -} from "../components/web3/EIP4361"; -import { getNonce } from "../components/web3/api"; import { cryptoAction } from "../components/web3/crypto/CryptoWrapper"; import { SIWEReturnParams, @@ -312,11 +307,13 @@ export const onEndpointTextMessageForCryptoSendHandler = { jitsiId: params.data.senderInfo.id, siwe: siwe, }); + break; } case "REJECT": { const nonce = msg.payload; cryptoAction.rejectOutstandingRequest(nonce); + break; } } },