Design: merge 중 빠트림
This commit is contained in:
parent
bc22f31a55
commit
7004623d24
@ -37,30 +37,22 @@ export default function WorkspaceDropdownMenu({
|
|||||||
const uploadImageFileMutation = useUploadImageFileQuery();
|
const uploadImageFileMutation = useUploadImageFileQuery();
|
||||||
const uploadImageFolderMutation = useUploadImageFolderQuery();
|
const uploadImageFolderMutation = useUploadImageFolderQuery();
|
||||||
|
|
||||||
const handleOpenUploadFile = () => setIsOpenUploadFile(true);
|
|
||||||
const handleCloseUploadFile = () => setIsOpenUploadFile(false);
|
const handleCloseUploadFile = () => setIsOpenUploadFile(false);
|
||||||
const handleOpenUploadPresigned = () => setIsOpenUploadPresigned(true);
|
|
||||||
const handleCloseUploadPresigned = () => setIsOpenUploadPresigned(false);
|
|
||||||
const handleOpenUploadFolderFile = () => setIsOpenUploadFolderFile(true);
|
|
||||||
const handleCloseUploadFolderFile = () => setIsOpenUploadFolderFile(false);
|
const handleCloseUploadFolderFile = () => setIsOpenUploadFolderFile(false);
|
||||||
const handleOpenUploadFolder = () => setIsOpenUploadFolder(true);
|
|
||||||
const handleCloseUploadFolder = () => setIsOpenUploadFolder(false);
|
const handleCloseUploadFolder = () => setIsOpenUploadFolder(false);
|
||||||
const handleOpenUploadZip = () => setIsOpenUploadZip(true);
|
|
||||||
const handleCloseUploadZip = () => setIsOpenUploadZip(false);
|
const handleCloseUploadZip = () => setIsOpenUploadZip(false);
|
||||||
|
|
||||||
const handleFileCount = (fileCount: number) => {
|
const handleFileCount = (fileCount: number) => {
|
||||||
setFileCount(fileCount);
|
setFileCount(fileCount);
|
||||||
};
|
};
|
||||||
|
|
||||||
const handlePresignedCount = (fileCount: number) => {
|
|
||||||
setPresignedCount(fileCount);
|
|
||||||
};
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<DropdownMenu>
|
<DropdownMenu>
|
||||||
<DropdownMenuTrigger>
|
<DropdownMenuTrigger>
|
||||||
<Menu size={16} />
|
<Menu
|
||||||
|
size={16}
|
||||||
|
className="stroke-gray-900"
|
||||||
|
/>
|
||||||
</DropdownMenuTrigger>
|
</DropdownMenuTrigger>
|
||||||
<DropdownMenuContent className="w-56">
|
<DropdownMenuContent className="w-56">
|
||||||
<DropdownMenuItem onClick={() => console.log('프로젝트 이름 수정')}>프로젝트 이름 수정</DropdownMenuItem>
|
<DropdownMenuItem onClick={() => console.log('프로젝트 이름 수정')}>프로젝트 이름 수정</DropdownMenuItem>
|
||||||
|
Loading…
Reference in New Issue
Block a user