Skip to content

Commit

Permalink
Add default value for theme
Browse files Browse the repository at this point in the history
  • Loading branch information
maxfindel committed Apr 12, 2019
1 parent a197f5b commit 98f1ce9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/helpers/validate.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ module.exports = config => {

config.title =
typeof config.title === 'string' ? config.title : defaultConfig.title;
config.theme =
typeof config.theme === 'string' ? config.theme : defaultConfig.theme;
config.path =
typeof config.path === 'string' ? config.path : defaultConfig.path;
config.socketPath =
Expand Down

0 comments on commit 98f1ce9

Please sign in to comment.