diff --git a/cypress/support/commands.ts b/cypress/support/commands.ts index fd44f4d25a..61d389e206 100644 --- a/cypress/support/commands.ts +++ b/cypress/support/commands.ts @@ -22,7 +22,7 @@ Cypress.Commands.add("clearIndexedDB", () => { indexedDB.deleteDatabase("guild.xyz") }) -// eslint-disable-next-line @typescript-eslint/no-namespace +// biome-ignore lint/style/noNamespace: declare namespace Cypress { interface Chainable { getByDataTest(selector: string): Chainable> diff --git a/src/hooks/useOAuthResultToast.ts b/src/hooks/useOAuthResultToast.ts index fe3877d913..9f02851522 100644 --- a/src/hooks/useOAuthResultToast.ts +++ b/src/hooks/useOAuthResultToast.ts @@ -14,9 +14,9 @@ export default function useOAuthResultToast() { useEffect(() => { if (query["oauth-status"]) { const { - ["oauth-platform"]: oauthPlatform, - ["oauth-status"]: oauthStatus, - ["oauth-message"]: oauthMessage, + "oauth-platform": oauthPlatform, + "oauth-status": oauthStatus, + "oauth-message": oauthMessage, ...newQuery } = query