Fix explorer hook deps
Resolve hook dependency warnings in entries and releases explorers. Signed-off-by: codex@lucy.xalior.com
This commit is contained in:
@@ -9,6 +9,8 @@ import ExplorerLayout from "@/components/explorer/ExplorerLayout";
|
||||
import FilterSidebar from "@/components/explorer/FilterSidebar";
|
||||
import MultiSelectChips from "@/components/explorer/MultiSelectChips";
|
||||
|
||||
const preferredMachineIds = [27, 26, 8, 9];
|
||||
|
||||
type Item = {
|
||||
id: number;
|
||||
title: string;
|
||||
@@ -60,7 +62,6 @@ export default function EntriesExplorer({
|
||||
scope?: SearchScope;
|
||||
};
|
||||
}) {
|
||||
const preferredMachineIds = [27, 26, 8, 9];
|
||||
const parseMachineIds = (value?: string) => {
|
||||
if (!value) return preferredMachineIds.slice();
|
||||
const ids = value
|
||||
|
||||
Reference in New Issue
Block a user