diff --git a/client/components/file-dropdown/index.tsx b/client/components/file-dropdown/index.tsx index bcf5c963..ee361f40 100644 --- a/client/components/file-dropdown/index.tsx +++ b/client/components/file-dropdown/index.tsx @@ -1,4 +1,4 @@ -import { Button, Link, Note, Popover, Spacer } from '@geist-ui/core' +import { Button, Link, Text, Popover } from '@geist-ui/core' import FileIcon from '@geist-ui/icons/fileText' import CodeIcon from '@geist-ui/icons/fileLambda' import styles from './dropdown.module.css' @@ -44,7 +44,7 @@ const FileDropdown = ({ {item.icon} - {item.title} + {item.title ? item.title : 'Untitled'} ))} @@ -55,9 +55,9 @@ const FileDropdown = ({ return ( + ) }