Skip to content

Commit

Permalink
fix(typo): error message
Browse files Browse the repository at this point in the history
  • Loading branch information
jsun969 committed Oct 6, 2024
1 parent 3239e09 commit 8f1c153
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Error.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { useMount } from '../utils/mount';

export const Error = ({ error }: FallbackProps) => {
const errorMessage = String(error);
const prefilledFeedbackForm = `${import.meta.env.VITE_FEEDBACK_FORM_URL_PREFILL_ERROR_MESSAGE}+${errorMessage}%0ACause:+`;
const prefilledFeedbackForm = `${import.meta.env.VITE_FEEDBACK_FORM_URL_PREFILL_ERROR_MESSAGE}${errorMessage}%0ACause:+`;

useMount(() => {
// Clear local data to reset the app
Expand All @@ -14,7 +14,7 @@ export const Error = ({ error }: FallbackProps) => {

return (
<div className="mx-2 flex h-dvh flex-col items-center justify-center gap-2">
<h1 className="text-4xl">Oops.. Something went wrong!</h1>
<h1 className="text-4xl">Oops... Something went wrong!</h1>
<p>
We're sorry, but we need to clear all saved data for this website
(including any locally stored courses and times).
Expand Down

0 comments on commit 8f1c153

Please sign in to comment.