mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-19 00:22:14 +03:00
ef78dec810
* style(deleteBrainModal): reduce buttons space * refactor: add KnowledgeToFeedInput * feat: update translations * feat: update knowledge feed component * style: reduce knowledge to upload displayer size * feat: move KnowledgeToFeedInput to @lib * refactor: rename useSelectedChatPage to useChatNotificationsSync * feat: change chatPage bg to gray when feed card is opened * style: change feed process submit button bg to purple
12 lines
318 B
TypeScript
12 lines
318 B
TypeScript
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,
|
|
};
|
|
};
|