mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-21 14:09:34 +01:00
mobile: remove unused hook
This commit is contained in:
@@ -23,7 +23,6 @@ import React, { useRef, useState } from "react";
|
|||||||
import { View } from "react-native";
|
import { View } from "react-native";
|
||||||
import { TextInput } from "react-native-gesture-handler";
|
import { TextInput } from "react-native-gesture-handler";
|
||||||
import { IconButton } from "../../components/ui/icon-button";
|
import { IconButton } from "../../components/ui/icon-button";
|
||||||
import useGlobalSafeAreaInsets from "../../hooks/use-global-safe-area-insets";
|
|
||||||
import Navigation from "../../services/navigation";
|
import Navigation from "../../services/navigation";
|
||||||
import useNavigationStore from "../../stores/use-navigation-store";
|
import useNavigationStore from "../../stores/use-navigation-store";
|
||||||
import { useSelectionStore } from "../../stores/use-selection-store";
|
import { useSelectionStore } from "../../stores/use-selection-store";
|
||||||
@@ -41,7 +40,6 @@ export const SearchBar = ({
|
|||||||
const isFocused = useNavigationStore(
|
const isFocused = useNavigationStore(
|
||||||
(state) => state.focusedRouteId === "Search"
|
(state) => state.focusedRouteId === "Search"
|
||||||
);
|
);
|
||||||
const insets = useGlobalSafeAreaInsets();
|
|
||||||
const { colors } = useThemeColors();
|
const { colors } = useThemeColors();
|
||||||
const inputRef = useRef<TextInput>(null);
|
const inputRef = useRef<TextInput>(null);
|
||||||
const _onChangeText = (value: string) => {
|
const _onChangeText = (value: string) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user