mirror of
https://gitlab.com/timvisee/send.git
synced 2024-11-14 07:02:30 +01:00
10 lines
198 B
JavaScript
10 lines
198 B
JavaScript
const html = require('choo/html');
|
|
|
|
module.exports = function(state) {
|
|
const div = html`<div id="page-one"></div>`;
|
|
if (state.layout) {
|
|
return state.layout(state, div);
|
|
}
|
|
return div;
|
|
};
|