diff --git a/api/package-lock.json b/api/package-lock.json index db32ab8ae..dfb607d9e 100644 --- a/api/package-lock.json +++ b/api/package-lock.json @@ -1,12 +1,12 @@ { "name": "explorer-api", - "version": "3.3.9", + "version": "3.3.10-rc.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "explorer-api", - "version": "3.3.9", + "version": "3.3.10-rc.1", "license": "Apache-2.0", "dependencies": { "@google-cloud/logging-winston": "^6.0.0", diff --git a/api/package.json b/api/package.json index d4973df94..fc17316ef 100644 --- a/api/package.json +++ b/api/package.json @@ -1,7 +1,7 @@ { "name": "explorer-api", "description": "API for Tangle Explorer", - "version": "3.3.9", + "version": "3.3.10-rc.1", "author": "Martyn Janes ", "repository": { "type": "git", diff --git a/client/package-lock.json b/client/package-lock.json index 8bcbaf31a..d03d4f91e 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -1,12 +1,12 @@ { "name": "explorer-client", - "version": "3.3.9", + "version": "3.3.10-rc.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "explorer-client", - "version": "3.3.9", + "version": "3.3.10-rc.1", "hasInstallScript": true, "license": "Apache-2.0", "dependencies": { diff --git a/client/package.json b/client/package.json index 4254c503b..58a1376bc 100644 --- a/client/package.json +++ b/client/package.json @@ -1,7 +1,7 @@ { "name": "explorer-client", "description": "Tangle Explorer UI", - "version": "3.3.9", + "version": "3.3.10-rc.1", "author": "Martyn Janes ", "type": "module", "repository": { diff --git a/client/src/index.tsx b/client/src/index.tsx index be89e221d..0a989c579 100644 --- a/client/src/index.tsx +++ b/client/src/index.tsx @@ -1,10 +1,11 @@ /* eslint-disable unicorn/prefer-top-level-await */ // needed for features from @iota/sdk which use reflection (decorators) import "reflect-metadata"; -import React, { Suspense, lazy } from "react"; +import React from "react"; import { createRoot } from "react-dom/client"; import { BrowserRouter, Route, RouteComponentProps } from "react-router-dom"; import { AppRouteProps } from "~app/AppRouteProps"; +import App from "~app/App"; import { ServiceFactory } from "~factories/serviceFactory"; import { CHRYSALIS, LEGACY, NOVA, STARDUST } from "~models/config/protocolVersion"; import { ChrysalisApiClient } from "~services/chrysalis/chrysalisApiClient"; @@ -28,9 +29,6 @@ import { TokenRegistryClient } from "~services/stardust/tokenRegistryClient"; import "./index.scss"; import "@fontsource/ibm-plex-mono"; import "@fontsource/material-icons"; -import Spinner from "~app/components/Spinner"; - -const App = lazy(() => import("~app/App")); // eslint-disable-next-line @typescript-eslint/no-explicit-any const apiEndpoint = (window as any).env.API_ENDPOINT; @@ -38,29 +36,19 @@ const apiEndpoint = (window as any).env.API_ENDPOINT; const AppInitializer = () => { return ( - - - - } - > - ) => } - /> - + ) => } + /> ); }; // eslint-disable-next-line @typescript-eslint/no-non-null-assertion const container = document.getElementById("root")!; -if (!container.hasChildNodes()) { - const root = createRoot(container); - root.render(); -} +const root = createRoot(container); +root.render(); /** * Register all the services. diff --git a/package.json b/package.json index fb40d578a..f95542f6f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "explorer", "description": "Tangle Explorer", - "version": "3.3.9", + "version": "3.3.10-rc.1", "scripts": { "setup:client": "cd client && npm install && npm run postinstall", "setup:api": "cd api && npm install && npm run build-compile && npm run build-config",