diff --git a/src/components/multiple-selector.tsx b/src/components/multiple-selector.tsx index ede4f91..0da6a29 100644 --- a/src/components/multiple-selector.tsx +++ b/src/components/multiple-selector.tsx @@ -75,7 +75,6 @@ export interface MultipleSelectorRef { input: HTMLInputElement; } -// eslint-disable-next-line react-refresh/only-export-components export function useDebounce(value: T, delay?: number): T { const [debouncedValue, setDebouncedValue] = React.useState(value); @@ -284,7 +283,6 @@ const MultipleSelector = React.forwardRef< }; void exec(); - // eslint-disable-next-line react-hooks/exhaustive-deps }, [debouncedSearchTerm, groupBy, open, triggerSearchOnFocus, onSearch]); const CreatableItem = () => { diff --git a/src/components/profile-data-table.tsx b/src/components/profile-data-table.tsx index 13679e1..d792c7b 100644 --- a/src/components/profile-data-table.tsx +++ b/src/components/profile-data-table.tsx @@ -1250,7 +1250,7 @@ export function ProfilesDataTable({ React.useEffect(() => { if (!browserState.isClient) return; let unlisten: (() => void) | undefined; - (async () => { + void (async () => { try { unlisten = await listen("stored-proxies-changed", () => { // Also refresh tags on profile updates @@ -1881,12 +1881,12 @@ export function ProfilesDataTable({ const syncInfo = meta.getProfileSyncInfo(profile.id); const isLeader = syncInfo?.isLeader === true; const isFollower = syncInfo?.isLeader === false; - const isDesynced = isFollower && syncInfo?.failedAtUrl != null; + const isDesynced = isFollower && syncInfo.failedAtUrl != null; const stopTooltip = isLeader ? meta.t("profiles.synchronizer.stopLeader") : isFollower ? meta.t("profiles.synchronizer.stopFollower", { - leaderName: syncInfo?.session.leader_profile_name ?? "", + leaderName: syncInfo.session.leader_profile_name ?? "", }) : tooltipContent;