Tanner Collin
7f6fc32d74
Removed the boilerplate's counter, started a drawer menu, added a toolbar to access the menu, created the calculator form and state.
20 lines
276 B
JavaScript
20 lines
276 B
JavaScript
import * as types from './actionTypes';
|
|
|
|
export function updatevalue(form, index, value) {
|
|
return {
|
|
type: types.UPDATEVALUE,
|
|
form,
|
|
index,
|
|
value,
|
|
};
|
|
}
|
|
|
|
export function updatemult(form, index, mult) {
|
|
return {
|
|
type: types.UPDATEMULT,
|
|
form,
|
|
index,
|
|
mult,
|
|
};
|
|
}
|