fix: replace refresh icon with save icon on update template button

Closes #4

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Le-King-Fu 2026-02-16 12:01:14 +00:00
parent 5e7c7e6609
commit 9914737f26

View file

@ -1,6 +1,6 @@
import { useState } from "react"; import { useState } from "react";
import { useTranslation } from "react-i18next"; import { useTranslation } from "react-i18next";
import { Wand2, Check, Save, RefreshCw, X } from "lucide-react"; import { Wand2, Check, Save, X } from "lucide-react";
import type { import type {
ScannedSource, ScannedSource,
ScannedFile, ScannedFile,
@ -107,7 +107,7 @@ export default function SourceConfigPanel({
title={t("import.config.updateTemplate")} title={t("import.config.updateTemplate")}
className="p-1.5 rounded-lg text-[var(--primary)] hover:bg-[var(--muted)] transition-colors" className="p-1.5 rounded-lg text-[var(--primary)] hover:bg-[var(--muted)] transition-colors"
> >
<RefreshCw size={16} /> <Save size={16} />
</button> </button>
<button <button
onClick={() => onDeleteTemplate(selectedTemplateId)} onClick={() => onDeleteTemplate(selectedTemplateId)}