Skip to content

Commit

Permalink
Change fileName empty string check.
Browse files Browse the repository at this point in the history
  • Loading branch information
junhaoliao committed Sep 18, 2024
1 parent 832763d commit 203f4f2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const FileInfoTab = () => {
tabName={TAB_NAME.FILE_INFO}
title={TAB_DISPLAY_NAMES[TAB_NAME.FILE_INFO]}
>
{"" === fileName ?
{0 === fileName.length ?
"No file is open." :
<List>
<CustomListItem
Expand Down

0 comments on commit 203f4f2

Please sign in to comment.