Fix types

This commit is contained in:
Pierre Jacquier
2024-02-15 07:08:07 -05:00
parent 4f2cf2954a
commit 1ffb6b0192
8 changed files with 17 additions and 12 deletions

View File

@ -45,7 +45,7 @@ const ProjectSidebarMenu = ({
<div className="flex flex-col items-start py-0.5">
<span className="hidden text-sm text-chalkboard-110 dark:text-chalkboard-20 whitespace-nowrap lg:block">
{isTauri() && file?.name
? file.name.slice(file.name.lastIndexOf(sep) + 1)
? file.name.slice(file.name.lastIndexOf(sep()) + 1)
: APP_NAME}
</span>
{isTauri() && project?.name && (