mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-13 20:56:11 +01:00
compile tank search page
This commit is contained in:
1 parent
d8f6a55ee4
commit
558a02b6ae
17 files changed
+54
-48
No files matched your search
@@ -1,12 +1,12 @@
|
||||
import type { TankDefinition } from "@blitzkit/core";
|
||||
import type { TankDefinition } from "@blitzkit/protos";
|
||||
import { MagnifyingGlassIcon } from "@radix-ui/react-icons";
|
||||
import {
|
||||
type KeyboardEventHandler,
|
||||
useCallback,
|
||||
useEffect,
|
||||
useRef,
|
||||
type KeyboardEventHandler,
|
||||
useCallback,
|
||||
useEffect,
|
||||
useRef,
|
||||
} from "react";
|
||||
import { useLocale } from "../../hooks/useLocale";
|
||||
import { useStrings } from "../../hooks/useStrings";
|
||||
import { TankFilters } from "../../stores/tankFilters";
|
||||
import type { MaybeSkeletonComponentProps } from "../../types/maybeSkeletonComponentProps";
|
||||
import { Flex } from "../Flex";
|
||||
@@ -23,7 +23,7 @@ export function TankSearchBar({
|
||||
skeleton,
|
||||
onSelect,
|
||||
}: SearchBarProps) {
|
||||
const { strings } = useLocale();
|
||||
const strings = useStrings();
|
||||
|
||||
const search = TankFilters.use((state) => state.search);
|
||||
|
||||
|
||||
Reference in new issue
Block a user