refactor: cleanup

This commit is contained in:
zhom
2026-07-07 23:14:53 +04:00
parent eb6ded2772
commit 6f0ffc79ee
9 changed files with 28 additions and 22 deletions
+2 -2
View File
@@ -2395,7 +2395,7 @@ export function ProfilesDataTable({
},
{
// Hidden, sort-only column so profiles can be sorted by creation date
// without showing a Created column in the table (issue #454). Kept
// without showing a Created column in the table. Kept
// hidden via columnVisibility; sorting still works on hidden columns.
id: "created_at",
accessorFn: (row) => row.created_at ?? 0,
@@ -3067,7 +3067,7 @@ export function ProfilesDataTable({
setContainerWidth(Math.round(w / 8) * 8);
setColumnVisibility((prev) => {
const next: VisibilityState = {
// Always hidden — sort-only column (issue #454).
// Always hidden — sort-only column.
created_at: false,
dns: w >= 768,
ext: w >= 672,
+1 -2
View File
@@ -1050,8 +1050,7 @@ export function SettingsDialog({
// Await the rollover so the user sees an error if
// re-syncing fails. Previously the rollover was
// fire-and-forget (`void invoke(...)`) which left
// half-removed state on screen with no feedback
// the source of issue #360 "completely bugged".
// half-removed state on screen with no feedback.
await invoke("delete_e2e_password");
setHasE2ePassword(false);
try {