Skip to content

Remove temp file#50

Open
soni-sourav wants to merge 3 commits intomainfrom
remove-temp-file
Open

Remove temp file#50
soni-sourav wants to merge 3 commits intomainfrom
remove-temp-file

Conversation

@soni-sourav
Copy link
Collaborator

No description provided.

if (fileName) return fileName
if (filePath) return basename(filePath)
return 'File'
const name = fileName || (filePath ? basename(filePath) : 'File')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This code is also present in the other PR: https://github.com/Privitty/privitty-desktop/pull/49/changes

Looks like it is duplicated of #49

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants