diff --git a/src/components/App/index.tsx b/src/components/App/index.tsx index b06913f1f..c740c7c38 100644 --- a/src/components/App/index.tsx +++ b/src/components/App/index.tsx @@ -105,12 +105,6 @@ export const App = () => { await updateBudget(setBudget) } - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - // @ts-ignore - await sphinx.enable() - - await updateBudget(setBudget) - setSphinxModalOpen(false) } diff --git a/src/utils/setBudget/index.ts b/src/utils/setBudget/index.ts index 4799f788b..557a21bbb 100644 --- a/src/utils/setBudget/index.ts +++ b/src/utils/setBudget/index.ts @@ -1,10 +1,6 @@ import * as sphinx from 'sphinx-bridge-kevkevinpal' export async function updateBudget(setBudget: (value: number | null) => void) { - // eslint-disable-next-line @typescript-eslint/ban-ts-comment - // @ts-ignore - await sphinx.enable() - // eslint-disable-next-line @typescript-eslint/ban-ts-comment // @ts-ignore const budget = await sphinx.getBudget()