mirror of
https://gitlab.com/timvisee/send.git
synced 2024-11-13 22:54:15 +01:00
10 lines
225 B
JavaScript
10 lines
225 B
JavaScript
const welcome = require('../pages/welcome');
|
|
const upload = require('../pages/upload');
|
|
|
|
module.exports = function(state, emit) {
|
|
if (state.uploading) {
|
|
return upload(state, emit);
|
|
}
|
|
return welcome(state, emit);
|
|
};
|