Display numbers based on significant digits and format app menu

This commit is contained in:
2017-02-03 21:22:18 -07:00
parent db3fb7ec0f
commit 6252203f14
10 changed files with 204 additions and 42 deletions
+3 -6
View File
@@ -1,13 +1,10 @@
import React, {Component} from 'react';
import * as types from '../actions/actionTypes';
import CalcApp from '../containers/calcApp';
import HelpApp from '../containers/helpApp';
const initialState = {
isOpen: false,
refdrawer: null,
page: <CalcApp />,
page: 'main',
subtitle: 'Calculator Page',
};
@@ -27,14 +24,14 @@ export default function menu(state = initialState, action = {}) {
return {
...state,
isOpen: false,
page: <CalcApp />,
page: 'main',
subtitle: 'Calculator Page',
};
case types.HELP:
return {
...state,
isOpen: false,
page: <HelpApp />,
page: 'help',
subtitle: 'Help',
};
default: