From 6505b8a2aa9664024538b7e7bbd97411061f1767 Mon Sep 17 00:00:00 2001 From: Guilherme Gazzo Date: Thu, 23 May 2024 23:34:42 -0300 Subject: [PATCH] .. --- apps/meteor/client/views/root/AppErrorPage.tsx | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/apps/meteor/client/views/root/AppErrorPage.tsx b/apps/meteor/client/views/root/AppErrorPage.tsx index 2873beca2b80..142e0c6ad228 100644 --- a/apps/meteor/client/views/root/AppErrorPage.tsx +++ b/apps/meteor/client/views/root/AppErrorPage.tsx @@ -1,4 +1,4 @@ -import { Box, States, StatesIcon, StatesSubtitle, StatesTitle } from '@rocket.chat/fuselage'; +import { Box, States, StatesAction, StatesActions, StatesIcon, StatesSubtitle, StatesTitle } from '@rocket.chat/fuselage'; import type { ErrorInfo, ReactElement } from 'react'; import React from 'react'; @@ -15,6 +15,17 @@ const AppErrorPage = (_props: AppErrorPageProps): ReactElement => { Application Error The application GUI just crashed. + + + { + indexedDB.deleteDatabase('MeteorDynamicImportCache'); + window.location.reload(); + }} + > + Reload Application + + );