From b14d6d4238f22eace94a61b5e6013ce70d2a08ec Mon Sep 17 00:00:00 2001 From: Rodrigo Nader Date: Wed, 28 Jun 2023 12:51:05 -0300 Subject: [PATCH] Refactor crash error component, header component, and main page component - Refactored crash error component to update the background color of the reset button. - Removed commented code in the header component. - Imported BUTTON_DIV_STYLE constant in the main page component. --- src/frontend/src/components/CrashErrorComponent/index.tsx | 2 +- src/frontend/src/components/headerComponent/index.tsx | 3 ++- src/frontend/src/pages/MainPage/index.tsx | 1 + 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/frontend/src/components/CrashErrorComponent/index.tsx b/src/frontend/src/components/CrashErrorComponent/index.tsx index 760a1745a..8bd32af92 100644 --- a/src/frontend/src/components/CrashErrorComponent/index.tsx +++ b/src/frontend/src/components/CrashErrorComponent/index.tsx @@ -14,7 +14,7 @@ export default function CrashErrorComponent({ error, resetErrorBoundary }) {
diff --git a/src/frontend/src/components/headerComponent/index.tsx b/src/frontend/src/components/headerComponent/index.tsx index 0714424e6..323619f9a 100644 --- a/src/frontend/src/components/headerComponent/index.tsx +++ b/src/frontend/src/components/headerComponent/index.tsx @@ -99,7 +99,8 @@ export default function Header() { > - {/* + +