Added advanced options for sticky app bar, lastn. Optimized some component rendering.

This commit is contained in:
Håvar Aambø Fosstveit
2020-03-18 00:12:50 +01:00
parent 4975c08c0d
commit 8ba29338d1
8 changed files with 117 additions and 9 deletions
+11
View File
@@ -25,4 +25,15 @@ export const setDisplayName = (displayName) =>
export const toggleAdvancedMode = () =>
({
type : 'TOGGLE_ADVANCED_MODE'
});
export const toggleStickyAppBar = () =>
({
type : 'TOGGLE_STICKY_APPBAR'
});
export const setLastN = (lastN) =>
({
type : 'SET_LAST_N',
payload : { lastN }
});