diff --git a/src/components/Error.tsx b/src/components/Error.tsx index 1b75f2437..e754c38a8 100644 --- a/src/components/Error.tsx +++ b/src/components/Error.tsx @@ -32,7 +32,7 @@ export const Error = ({ heading, children, ...props }: ErrorPropTypes) => { {heading ?? `Uh-oh, there's been a glitch`} {children ?? <> We're not quite sure what went wrong. Restart your browser. If this doesn't solve - the problem, visit our Support Center. + the problem, visit our Support Center. } {context.error?.eventId || lastEventId} diff --git a/src/components/ErrorBoundary.tsx b/src/components/ErrorBoundary.tsx index 2d1f73617..24932edd9 100644 --- a/src/components/ErrorBoundary.tsx +++ b/src/components/ErrorBoundary.tsx @@ -13,11 +13,11 @@ const Error = ({ children, ...props }: React.PropsWithChildren) const defaultErrorFallbacks = { 'generic': , 'SessionExpiredError': - Please refresh your browser and try again. If this doesn't solve the problem, visit our Support Center. + Please refresh your browser and try again. If this doesn't solve the problem, visit our Support Center. , 'UnauthorizedError': You may not have the required permissions or may have been logged out. Try refreshing the page or restarting your browser. - If the issue persists, visit our Support Center. + If the issue persists, visit our Support Center. }; diff --git a/src/components/ErrorModal.spec.tsx b/src/components/ErrorModal.spec.tsx index cbbd0507a..7266fad4a 100644 --- a/src/components/ErrorModal.spec.tsx +++ b/src/components/ErrorModal.spec.tsx @@ -21,7 +21,7 @@ describe('Modal', () => { render( There was an issue syncing your scores. Please try again in a few minutes. If the issue persists, visit our - Support Center. + Support Center. , { container: root } ); expect(document.body).toMatchSnapshot(); diff --git a/src/components/__snapshots__/Error.spec.tsx.snap b/src/components/__snapshots__/Error.spec.tsx.snap index d81ab1f0f..57797934a 100644 --- a/src/components/__snapshots__/Error.spec.tsx.snap +++ b/src/components/__snapshots__/Error.spec.tsx.snap @@ -30,7 +30,7 @@ exports[`Error matches snapshot 1`] = ` We're not quite sure what went wrong. Restart your browser. If this doesn't solve the problem, visit our Support Center diff --git a/src/components/__snapshots__/ErrorModal.spec.tsx.snap b/src/components/__snapshots__/ErrorModal.spec.tsx.snap index f30af2d5a..92ccc711d 100644 --- a/src/components/__snapshots__/ErrorModal.spec.tsx.snap +++ b/src/components/__snapshots__/ErrorModal.spec.tsx.snap @@ -96,7 +96,7 @@ exports[`Modal matches snapshot 1`] = ` We're not quite sure what went wrong. Restart your browser. If this doesn't solve the problem, visit our Support Center @@ -224,7 +224,7 @@ exports[`Modal matches snapshot when heading and children are set 1`] = ` There was an issue syncing your scores. Please try again in a few minutes. If the issue persists, visit our