Add ticks to redux state

This commit is contained in:
Lachlan Kermode
2022-03-06 21:20:03 -05:00
parent cb69b40ae2
commit a84fd55e62
5 changed files with 39 additions and 5 deletions

View File

@@ -302,6 +302,14 @@ export function updateColoringSet(coloringSet) {
};
}
export const UPDATE_TICKS = "UPDATE_TICKS";
export function updateTicks(ticks) {
return {
type: UPDATE_TICKS,
ticks,
};
}
// UI
export const TOGGLE_SITES = "TOGGLE_SITES";