Skip to content

Commit 3a3e6b0

Browse files
committed
fix upload file button on mobile
1 parent d6fea9c commit 3a3e6b0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/LinksMenu/FileLinksMenu.jsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,7 @@ const FileLinksMenu = ({
241241
</div>
242242
{!isAddingNewLink && (
243243
<div className="add-link-mobile">
244-
<button className="tc-btn tc-btn-secondary tc-btn-md" onClick={() => onAddingNewLink(true)}>Upload File
245-
</button>
244+
<button className="tc-btn tc-btn-secondary tc-btn-md" onClick={openFileUpload}>Upload File</button>
246245
</div>
247246
)}
248247
</Panel>

0 commit comments

Comments
 (0)