From 8f821466881cbddeb757afd3e81cf3854bb6a8a0 Mon Sep 17 00:00:00 2001 From: Clara Youdale Date: Thu, 21 Sep 2023 11:11:16 -0300 Subject: [PATCH] Move helmet outside page loading --- site/gatsby-site/src/pages/apps/submitted.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/site/gatsby-site/src/pages/apps/submitted.js b/site/gatsby-site/src/pages/apps/submitted.js index 5725db289f..77ca81d756 100644 --- a/site/gatsby-site/src/pages/apps/submitted.js +++ b/site/gatsby-site/src/pages/apps/submitted.js @@ -90,22 +90,24 @@ const SubmittedIncidentsPage = ({ ...props }) => { return ( <> + + {id ? ( + {t('Edit submission')} + ) : ( + {t('Submitted Incident Report List')} + )} + + {pageLoading ? ( ) : ( <> {id ? ( <> - - {t('Edit submission')} - ) : ( <> - - {t('Submitted Incident Report List')} -

Submitted Incident Report List