design nosepass template, add tests, add template previews

This commit is contained in:
Amruth Pillai
2023-11-17 08:31:12 +01:00
parent 0b4cb71320
commit 34247f13b6
92 changed files with 24440 additions and 35518 deletions

View File

@ -1,6 +1,6 @@
import { zodResolver } from "@hookform/resolvers/zod";
import { t } from "@lingui/macro";
import { Check, DownloadSimple, Warning } from "@phosphor-icons/react";
import { Check, DownloadSimple } from "@phosphor-icons/react";
import {
JsonResume,
JsonResumeParser,
@ -141,7 +141,6 @@ export const ImportDialog = () => {
toast({
variant: "error",
icon: <Warning size={16} weight="bold" />,
title: t`An error occurred while validating the file.`,
});
}
@ -186,7 +185,6 @@ export const ImportDialog = () => {
} catch (error) {
toast({
variant: "error",
icon: <Warning size={16} weight="bold" />,
title: t`Oops, the server returned an error.`,
description: importError?.message,
});