Regression for the GPX export when running in a browser.

This commit is contained in:
vdv committed 2022-10-02 23:26:18 +02:00
1 parent d85f5d3f95
commit 52b03d8331
1 file changed
-2
-2
View File
@@ -101,11 +101,9 @@ const GpxExport: React.FC<{ gpx: any }> = (props: { gpx: any }) => {
<IonButton id='gpx-export-button' onClick={download}>
<IonIcon icon={cloudDownload} title='Export' slot='icon-only' />
</IonButton>
{isCapacitor && (
<a className='hidden' download={downloadName} ref={hiddenLinkElement}>
download
</a>
)}
</Fragment>
);
};