fix: resolve lint errors from phase 32/33/34 execution
Auto-fixed formatting issues and removed unused imports introduced by background execution agents across currency, i18n, and sharing code. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -51,10 +51,10 @@ function ApiKeySection() {
|
||||
|
||||
return (
|
||||
<div className="space-y-3">
|
||||
<h3 className="text-sm font-medium text-gray-900">{t("apiKeys.title")}</h3>
|
||||
<p className="text-xs text-gray-500">
|
||||
{t("apiKeys.description")}
|
||||
</p>
|
||||
<h3 className="text-sm font-medium text-gray-900">
|
||||
{t("apiKeys.title")}
|
||||
</h3>
|
||||
<p className="text-xs text-gray-500">{t("apiKeys.description")}</p>
|
||||
|
||||
{newKey && (
|
||||
<div className="bg-amber-50 border border-amber-200 rounded-lg p-3">
|
||||
@@ -151,10 +151,10 @@ function ImportExportSection() {
|
||||
|
||||
return (
|
||||
<div className="space-y-3">
|
||||
<h3 className="text-sm font-medium text-gray-900">{t("importExport.title")}</h3>
|
||||
<p className="text-xs text-gray-500">
|
||||
{t("importExport.description")}
|
||||
</p>
|
||||
<h3 className="text-sm font-medium text-gray-900">
|
||||
{t("importExport.title")}
|
||||
</h3>
|
||||
<p className="text-xs text-gray-500">{t("importExport.description")}</p>
|
||||
|
||||
<div className="flex flex-wrap gap-2">
|
||||
<button
|
||||
@@ -166,7 +166,9 @@ function ImportExportSection() {
|
||||
</button>
|
||||
|
||||
<label className="px-4 py-2 text-sm font-medium text-gray-700 bg-white border border-gray-200 hover:bg-gray-50 rounded-lg transition-colors cursor-pointer">
|
||||
{importItems.isPending ? t("importExport.importing") : t("importExport.import")}
|
||||
{importItems.isPending
|
||||
? t("importExport.importing")
|
||||
: t("importExport.import")}
|
||||
<input
|
||||
ref={fileInputRef}
|
||||
type="file"
|
||||
@@ -192,7 +194,11 @@ function ImportExportSection() {
|
||||
</p>
|
||||
)}
|
||||
{importResult.createdCategories.length > 0 && (
|
||||
<p>{t("importExport.newCategories", { categories: importResult.createdCategories.join(", ") })}</p>
|
||||
<p>
|
||||
{t("importExport.newCategories", {
|
||||
categories: importResult.createdCategories.join(", "),
|
||||
})}
|
||||
</p>
|
||||
)}
|
||||
{importResult.errors.map((err, i) => (
|
||||
// biome-ignore lint/suspicious/noArrayIndexKey: static error list
|
||||
@@ -289,7 +295,9 @@ function SettingsPage() {
|
||||
<div className="bg-white rounded-xl border border-gray-100 p-5 space-y-6">
|
||||
<div className="flex items-center justify-between">
|
||||
<div>
|
||||
<h3 className="text-sm font-medium text-gray-900">{t("language.title")}</h3>
|
||||
<h3 className="text-sm font-medium text-gray-900">
|
||||
{t("language.title")}
|
||||
</h3>
|
||||
<p className="text-xs text-gray-500 mt-0.5">
|
||||
{t("language.description")}
|
||||
</p>
|
||||
@@ -319,7 +327,9 @@ function SettingsPage() {
|
||||
|
||||
<div className="flex items-center justify-between">
|
||||
<div>
|
||||
<h3 className="text-sm font-medium text-gray-900">{t("weightUnit.title")}</h3>
|
||||
<h3 className="text-sm font-medium text-gray-900">
|
||||
{t("weightUnit.title")}
|
||||
</h3>
|
||||
<p className="text-xs text-gray-500 mt-0.5">
|
||||
{t("weightUnit.description")}
|
||||
</p>
|
||||
|
||||
Reference in New Issue
Block a user