mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-10 12:15:34 +00:00
use import/export in the frontend code
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
const testPilotGA = require('testpilot-ga/src/TestPilotGA');
|
||||
const Storage = require('./storage');
|
||||
import testPilotGA from 'testpilot-ga/src/TestPilotGA';
|
||||
import Storage from './storage';
|
||||
const storage = new Storage();
|
||||
|
||||
let hasLocalStorage = false;
|
||||
@@ -234,7 +234,7 @@ function addRestartHandlers() {
|
||||
});
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
export {
|
||||
copiedLink,
|
||||
startedUpload,
|
||||
cancelledUpload,
|
||||
|
||||
Reference in New Issue
Block a user