Splitting out helpers into separate files

This commit is contained in:
James Barnsley
2020-03-03 16:39:37 +13:00
parent 57dd18e870
commit 5a1f08fdf0
105 changed files with 5456 additions and 5574 deletions

View File

@ -1,5 +1,5 @@
import * as helpers from '../../helpers';
import { generateGuid } from '../../util/helpers';
export function setWindowTitle(title = null, play_state = null) {
return {
@ -179,7 +179,7 @@ export function createNotification(data) {
return {
type: 'CREATE_NOTIFICATION',
notification: {
key: helpers.generateGuid(),
key: generateGuid(),
duration: 5,
type: 'default',
title: null,