mirror of
https://github.com/BrenBroZAYT/dashy.git
synced 2026-06-14 00:49:58 +00:00
⚡ Implements a very very basic config store
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// A list of mutation names
|
||||
const KEY_NAMES = [
|
||||
'UPDATE_CONFIG',
|
||||
];
|
||||
|
||||
// Convert array of key names into an object, and export
|
||||
const MUTATIONS = {};
|
||||
KEY_NAMES.forEach((key) => { MUTATIONS[key] = key; });
|
||||
export default MUTATIONS;
|
||||
Reference in New Issue
Block a user