@@ -1,6 +1,6 @@
|
||||
const riot = require('riot');
|
||||
import * as riot from 'riot';
|
||||
|
||||
module.exports = message => {
|
||||
export default message => {
|
||||
const notification = document.body.appendChild(document.createElement('mk-ui-notification'));
|
||||
riot.mount(notification, {
|
||||
message: message
|
||||
|
||||
Reference in New Issue
Block a user