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:
@@ -59,9 +59,7 @@ function RootErrorBoundary({ error, reset }: ErrorComponentProps) {
|
||||
{t("errors.somethingWentWrong")}
|
||||
</h1>
|
||||
<p className="text-sm text-gray-500 mb-6">
|
||||
{error instanceof Error
|
||||
? error.message
|
||||
: t("errors.unexpectedError")}
|
||||
{error instanceof Error ? error.message : t("errors.unexpectedError")}
|
||||
</p>
|
||||
<button
|
||||
type="button"
|
||||
@@ -259,7 +257,9 @@ function CandidateDeleteDialog({
|
||||
disabled={deleteCandidate.isPending}
|
||||
className="px-4 py-2 text-sm font-medium text-white bg-red-600 hover:bg-red-700 disabled:opacity-50 rounded-lg transition-colors"
|
||||
>
|
||||
{deleteCandidate.isPending ? t("actions.deleting") : t("actions.delete")}
|
||||
{deleteCandidate.isPending
|
||||
? t("actions.deleting")
|
||||
: t("actions.delete")}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -321,7 +321,9 @@ function ResolveDialog({
|
||||
disabled={resolveThread.isPending}
|
||||
className="px-4 py-2 text-sm font-medium text-white bg-amber-600 hover:bg-amber-700 disabled:opacity-50 rounded-lg transition-colors"
|
||||
>
|
||||
{resolveThread.isPending ? t("actions.saving") : t("confirm.pickWinner")}
|
||||
{resolveThread.isPending
|
||||
? t("actions.saving")
|
||||
: t("confirm.pickWinner")}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user