Skip to content

Commit

Permalink
fix: No need to desctruct useWebviewIntent in PublicToolbarCozyToCozy
Browse files Browse the repository at this point in the history
  • Loading branch information
JF-Cozy committed Jun 7, 2022
1 parent c85c1ae commit a3a34e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/drive/web/modules/public/PublicToolbarCozyToCozy.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ const PublicToolbarCozyToCozy = ({
const isFile = isFilesIsFile(files)
const client = useClient()
const { isMobile } = useBreakpoints()
const { webviewIntent } = useWebviewIntent()
const webviewIntent = useWebviewIntent()

const shouldDisplayMoreMenu = isMobile || (!isFile && files.length > 0)

Expand Down

0 comments on commit a3a34e4

Please sign in to comment.