diff --git a/src/components/NavBar/index.tsx b/src/components/NavBar/index.tsx index e23261cc..f3fb0eab 100644 --- a/src/components/NavBar/index.tsx +++ b/src/components/NavBar/index.tsx @@ -32,12 +32,12 @@ const navlinks: NavLink[] = [ export default function NavBar() { const profile = useProfile(); - if (!profile) throw new Error('Profile must be defined.'); + if (!profile) throw new Error('Profile must be defined'); const currentPath = usePathname(); const auth = useAuth(); - if (!auth) throw new Error('Auth must be defined.'); + if (!auth) throw new Error('Auth must be defined'); const authButtonView = useMemo(() => { if (profile.profileReady && auth.userId) diff --git a/src/data/formSchemas.ts b/src/data/formSchemas.ts index 0c515fff..ecd255c9 100644 --- a/src/data/formSchemas.ts +++ b/src/data/formSchemas.ts @@ -1,7 +1,7 @@ import z from 'zod'; import { getCurrentDate } from '@/utils/helpers'; -export const CHAR_LIMIT_MSG = 'Your text exceeds the 400-character limit.'; +export const CHAR_LIMIT_MSG = 'Your text exceeds the 400-character limit'; const zodDropdownOption = { label: z.string(),