quivr/frontend/app/chat/[chatId]/components/ActionsBar/hooks/useActionBar.ts

12 lines
263 B
TypeScript
Raw Normal View History

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