mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-19 03:01:53 +10:00
Update dependencies and refactor icon imports across the codebase
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
import { zodResolver } from "@hookform/resolvers/zod";
|
||||
import { t, Trans } from "@lingui/macro";
|
||||
import { FloppyDisk, TrashSimple } from "@phosphor-icons/react";
|
||||
import { FloppyDiskIcon, TrashSimpleIcon } from "@phosphor-icons/react";
|
||||
import {
|
||||
Alert,
|
||||
Button,
|
||||
@ -172,13 +172,13 @@ export const OpenAISettings = () => {
|
||||
/>
|
||||
<div className="flex items-center space-x-2 self-end sm:col-start-2">
|
||||
<Button type="submit" disabled={!form.formState.isValid}>
|
||||
{isEnabled && <FloppyDisk className="mr-2" />}
|
||||
{isEnabled && <FloppyDiskIcon className="mr-2" />}
|
||||
{isEnabled ? t`Saved` : t`Save Locally`}
|
||||
</Button>
|
||||
|
||||
{isEnabled && (
|
||||
<Button type="reset" variant="ghost" onClick={onRemove}>
|
||||
<TrashSimple className="mr-2" />
|
||||
<TrashSimpleIcon className="mr-2" />
|
||||
{t`Forget`}
|
||||
</Button>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user