quivr/frontend/app/chat/[chatId]/hooks/useSelectedChatPage.ts

12 lines
318 B
TypeScript
Raw Normal View History

import { useState } from "react";
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
export const useSelectedChatPage = () => {
const [shouldDisplayUploadCard, setShouldDisplayUploadCard] = useState(false);
return {
shouldDisplayUploadCard,
setShouldDisplayUploadCard,
};
};