import { useQueryClient } from "@tanstack/react-query" import { useEffect, useState } from "react" import "./App.css" import { validateAuthToken } from "../../utils/api" import { MESSAGE_TYPES, STORAGE_KEYS, UI_CONFIG } from "../../utils/constants" import { useDefaultProject, useProjects, useSetDefaultProject, useUserData, } from "../../utils/query-hooks" import { autoSearchEnabled as autoSearchEnabledStorage, autoCapturePromptsEnabled as autoCapturePromptsEnabledStorage, bearerToken, defaultProject as defaultProjectStorage, userData as userDataStorage, } from "../../utils/storage" import type { Project } from "../../utils/types" import { RightArrow } from "@/components/icons" const Tooltip = ({ children, content, }: { children: React.ReactNode content: string }) => { const [isVisible, setIsVisible] = useState(false) return (
)
const GeminiLogo = ({ className }: { className?: string }) => (
)
const XLogo = ({ className }: { className?: string }) => (
)
const GrokLogo = ({ className }: { className?: string }) => (
)
const ChatAppsLogo = ({ className }: { className?: string }) => (
{currentUrl}
Copy the prompt, paste the response here, then add it to supermemory.
{manualMemoryImportPrompt}
{manualImportError}
)}Logged out since authentication was invalidated. Please login again.
Having trouble logging in?{" "}