From 888d34dc5c3318a05c3f67bced229181c6b16c85 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Thu, 17 Mar 2022 17:03:37 +0100 Subject: [PATCH 1/2] info reload --- apps/remix-ide/src/app/components/preload.tsx | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/apps/remix-ide/src/app/components/preload.tsx b/apps/remix-ide/src/app/components/preload.tsx index a5dde9454d..2aaa336f35 100644 --- a/apps/remix-ide/src/app/components/preload.tsx +++ b/apps/remix-ide/src/app/components/preload.tsx @@ -23,6 +23,8 @@ export const Preload = () => { const testBlockStorage = useRef(window.location.hash.includes('e2e_testblock_storage=true') && window.location.host === '127.0.0.1:8080' && window.location.protocol === 'http:') function loadAppComponent() { + setError(true) + return import('../../app').then((AppComponent) => { const appComponent = new AppComponent.default() appComponent.run().then(() => { @@ -103,8 +105,22 @@ export const Preload = () => { Either change the settings in your browser or use a supported browser. : null} {error ? -
- An unknown error has occured loading the application. +
+ An unknown error has occurred while loading the application.

+ Doing a hard refresh might fix this issue:

+
+ Windows:

+ - Chrome: CTRL + F5 or CTRL + Reload Button

+ - Firefox: CTRL + SHIFT + R or CTRL + F5

+
+
+ MacOS:

+ - Chrome & FireFox: CMD + SHIFT + R or SHIFT + Reload Button

+
+
+ Linux:

+ - Chrome & FireFox: CTRL + SHIFT + R

+
: null} {showDownloader ?
From 43abc28fea9423afc0bcbd5ebc3bb60b293a0f84 Mon Sep 17 00:00:00 2001 From: filip mertens Date: Thu, 17 Mar 2022 17:04:25 +0100 Subject: [PATCH 2/2] rm debug --- apps/remix-ide/src/app/components/preload.tsx | 2 -- 1 file changed, 2 deletions(-) diff --git a/apps/remix-ide/src/app/components/preload.tsx b/apps/remix-ide/src/app/components/preload.tsx index 2aaa336f35..6674b1bcfd 100644 --- a/apps/remix-ide/src/app/components/preload.tsx +++ b/apps/remix-ide/src/app/components/preload.tsx @@ -23,8 +23,6 @@ export const Preload = () => { const testBlockStorage = useRef(window.location.hash.includes('e2e_testblock_storage=true') && window.location.host === '127.0.0.1:8080' && window.location.protocol === 'http:') function loadAppComponent() { - setError(true) - return import('../../app').then((AppComponent) => { const appComponent = new AppComponent.default() appComponent.run().then(() => {