2018-01-30 21:15:09 +01:00
|
|
|
const welcome = require('../pages/welcome');
|
|
|
|
const upload = require('../pages/upload');
|
2017-08-24 23:54:02 +02:00
|
|
|
|
|
|
|
module.exports = function(state, emit) {
|
2018-01-24 19:23:13 +01:00
|
|
|
if (state.transfer) {
|
2017-08-24 23:54:02 +02:00
|
|
|
return upload(state, emit);
|
|
|
|
}
|
|
|
|
return welcome(state, emit);
|
|
|
|
};
|