mirror of
https://github.com/PrimalHQ/primal-web-app.git
synced 2024-10-03 02:10:55 +00:00
Fix type warning
This commit is contained in:
parent
05b0fe9219
commit
0218a2647d
@ -26,7 +26,6 @@ import { subscribeTo } from "../sockets";
|
||||
import { nip19 } from "nostr-tools";
|
||||
import { useAccountContext } from "./AccountContext";
|
||||
import { npubToHex } from "../lib/keys";
|
||||
import { useProfileContext } from "./ProfileContext";
|
||||
|
||||
const recomendedUsers = [
|
||||
'82341f882b6eabcd2ba7f1ef90aad961cf074af15b9ef44a09f9d2a8fbfbe6a2', // jack
|
||||
@ -82,7 +81,7 @@ const initialData = {
|
||||
|
||||
export const SearchContext = createContext<SearchContextStore>();
|
||||
|
||||
export function SearchProvider(props: { children: number | boolean | Node | JSX.ArrayElement | JSX.FunctionElement | (string & {}) | null | undefined; }) {
|
||||
export function SearchProvider(props: { children: JSX.Element }) {
|
||||
|
||||
const account = useAccountContext();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user