diff --git a/src/components/App.tsx b/src/components/App.tsx deleted file mode 100644 index 87b947b..0000000 --- a/src/components/App.tsx +++ /dev/null @@ -1,105 +0,0 @@ -import { Match, Show, Suspense, Switch } from "solid-js"; -import { A } from "solid-start"; - -import settings from "~/assets/icons/settings.svg"; -import pixelLogo from "~/assets/mutiny-pixel-logo.png"; -import plusLogo from "~/assets/mutiny-plus-logo.png"; -import { - BalanceBox, - BetaWarningModal, - Card, - CombinedActivity, - DecryptDialog, - DefaultMain, - LoadingIndicator, - LoadingShimmer, - NavBar, - OnboardWarning, - PendingNwc, - ReloadPrompt, - SafeArea, - VStack -} from "~/components"; -import { useI18n } from "~/i18n/context"; -import { FeedbackLink } from "~/routes/Feedback"; -import { useMegaStore } from "~/state/megaStore"; - -export function App() { - const i18n = useI18n(); - const [state, _actions] = useMegaStore(); - - return ( - - - - - - - - - - - - - - - - {state.mutiny_wallet?.get_network()} - - - - - - - - - - - - - - - - - - - - - - } - > - - - - - - - - - - - - - - ); -} diff --git a/src/components/index.ts b/src/components/index.ts index f2f129f..53dd3a5 100644 --- a/src/components/index.ts +++ b/src/components/index.ts @@ -6,7 +6,6 @@ export * from "./ActivityItem"; export * from "./Amount"; export * from "./AmountCard"; export * from "./AmountEditable"; -export * from "./App"; export * from "./BalanceBox"; export * from "./BetaWarningModal"; export * from "./ChooseCurrency"; diff --git a/src/i18n/en/translations.ts b/src/i18n/en/translations.ts index 00f7223..164696a 100644 --- a/src/i18n/en/translations.ts +++ b/src/i18n/en/translations.ts @@ -20,7 +20,8 @@ export default { view_transaction: "View Transaction", pending: "Pending", error_safe_mode: - "Mutiny is running in safe mode. Lightning is disabled." + "Mutiny is running in safe mode. Lightning is disabled.", + self_hosted: "Self-hosted", }, contacts: { new: "new", diff --git a/src/routes/index.tsx b/src/routes/index.tsx index 0f89d44..e4089fc 100644 --- a/src/routes/index.tsx +++ b/src/routes/index.tsx @@ -62,6 +62,11 @@ export default function App() { {state.mutiny_wallet?.get_network()} + + + {i18n.t("common.self_hosted")} + + {i18n.t("settings.header")} - + + +