diff --git a/apps/dcellar-web-ui/src/modules/object/components/CreateFolder.tsx b/apps/dcellar-web-ui/src/modules/object/components/CreateFolder.tsx index 179b6dca..ca465ddc 100644 --- a/apps/dcellar-web-ui/src/modules/object/components/CreateFolder.tsx +++ b/apps/dcellar-web-ui/src/modules/object/components/CreateFolder.tsx @@ -119,7 +119,7 @@ export const CreateFolder = memo(function CreateFolderDrawer({ refet size: 0, primarySpAddress: primarySp.operatorAddress, preLockFeeObject: preLockFeeObject, - }).toString(); + }).toString() || '0'; const getPath = useCallback((name: string, folders: string[]) => { const parentFolderName = folders && folders[folders.length - 1];