Skip to content

Commit

Permalink
chore: rebase to develop changes
Browse files Browse the repository at this point in the history
  • Loading branch information
MSzalowski committed Feb 2, 2024
1 parent 4e32046 commit edfe186
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion govtool/frontend/src/context/wallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@ function CardanoProvider(props: Props) {

const enable = useCallback(
async (walletName: string) => {
await checkIsMaintenanceOn();
// await checkIsMaintenanceOn();

// todo: use .getSupportedExtensions() to check if wallet supports CIP-95
if (!isEnabled && walletName) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import i18n from "i18next";
import { initReactI18next } from "react-i18next";

import { en } from "./locales/en";

i18n.use(initReactI18next).init({
Expand Down
File renamed without changes.
14 changes: 8 additions & 6 deletions govtool/frontend/src/main.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import React from "react";
import ReactDOM from "react-dom/client";
import App from "./App.tsx";
import { ThemeProvider } from "@emotion/react";
import { ContextProviders } from "@context";
import { theme } from "./theme.ts";
import {
BrowserRouter,
createRoutesFromChildren,
Expand All @@ -12,9 +8,15 @@ import {
useNavigationType,
} from "react-router-dom";
import { QueryClient, QueryClientProvider } from "react-query";
import * as Sentry from "@sentry/react";
import TagManager from "react-gtm-module";
import "./translations/i18n";
import { ThemeProvider } from "@emotion/react";
import * as Sentry from "@sentry/react";

import { ContextProviders } from "@context";

import App from "./App.tsx";
import { theme } from "./theme.ts";
import "./i18n";

const queryClient = new QueryClient();

Expand Down
2 changes: 1 addition & 1 deletion govtool/frontend/src/types/i18next.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { en } from "@/translations/locales/en";
import { en } from "@/i18n/locales/en";

declare module "i18next" {
interface CustomTypeOptions {
Expand Down

0 comments on commit edfe186

Please sign in to comment.