mirror of
https://github.com/StanGirard/quivr.git
synced 2024-12-21 10:21:54 +03:00
12 lines
263 B
TypeScript
12 lines
263 B
TypeScript
|
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,
|
||
|
};
|
||
|
};
|