feat: disable firebase temp
This commit is contained in:
@@ -28,10 +28,10 @@ import {
|
||||
Paper,
|
||||
Dialog,
|
||||
Snackbar,
|
||||
// Toolbar,
|
||||
// ToolbarGroup,
|
||||
// ToolbarSeparator,
|
||||
// ToolbarTitle,
|
||||
// Toolbar,
|
||||
// ToolbarGroup,
|
||||
// ToolbarSeparator,
|
||||
// ToolbarTitle,
|
||||
// Badge
|
||||
} from 'material-ui';
|
||||
import IconUserCircle from 'material-ui/svg-icons/action/account-circle';
|
||||
@@ -46,7 +46,7 @@ import cinnamonSugar from 'cinnamon-sugar';
|
||||
import ButterToast from 'butter-toast';
|
||||
import 'material-design-icons/iconfont/material-icons.css';
|
||||
import { grey400, darkBlack, lightBlack } from 'material-ui/styles/colors';
|
||||
import { getMobileOperatingSystem } from '../../stores/firebase';
|
||||
// import { getMobileOperatingSystem } from '../../stores/firebase';
|
||||
import Alert from "../../components/Alert";
|
||||
import EmptyComponent from '../EmptyComponent';
|
||||
import NumberFormat from 'react-number-format';
|
||||
@@ -588,7 +588,7 @@ class App extends React.Component {
|
||||
<CartIcon />
|
||||
</Badge>
|
||||
</IconButton>) : "" }
|
||||
|
||||
|
||||
<IconButton color="action">
|
||||
<Badge badgeContent={17} color="secondary">
|
||||
<NotificationsIcon />
|
||||
@@ -653,7 +653,7 @@ class App extends React.Component {
|
||||
style={{marginRight: (window.innerWidth < 600) ? 2 : 10}}
|
||||
onClick={() => this.openNotification(null, "System Information", "This is your computer locale timezone", "environment")}>
|
||||
<Icon type="environment"/><span className="hide-on-small-only">{this.user.userGeolocation.ip}</span>
|
||||
</Button>
|
||||
</Button>
|
||||
|
||||
<Link onClick={this
|
||||
.changeRoute
|
||||
@@ -683,7 +683,7 @@ class App extends React.Component {
|
||||
.changeRoute
|
||||
.bind(this, '/app/shop')} to={LINKS.ITEMS}><MenuItem
|
||||
className={(this.state.selectedMenu === '/app/shop') ? "menuAkunItem active" : 'menuAkunItem'}><span
|
||||
className="menuAkun">Shop</span></MenuItem></Link>
|
||||
className="menuAkun">Shop</span></MenuItem></Link>
|
||||
|
||||
<Link onClick={this
|
||||
.changeRoute
|
||||
@@ -691,7 +691,7 @@ class App extends React.Component {
|
||||
to={LINKS.VOUCHERS}
|
||||
><MenuItem
|
||||
className={(this.state.selectedMenu === '/app/vouchers') ? "menuAkunItem active" : 'menuAkunItem'}><span
|
||||
className="menuAkun">Vouchers</span></MenuItem></Link>
|
||||
className="menuAkun">Vouchers</span></MenuItem></Link>
|
||||
|
||||
<Button className="toolbar-button-sysinfo hide-on-small-only" size="small" type="dashed"
|
||||
style={{marginRight: (window.innerWidth < 600) ? 2 : 10}}
|
||||
@@ -704,7 +704,7 @@ class App extends React.Component {
|
||||
onClick={() => this.openNotification(null, "System Information", "This is your computer locale timezone", "home")}>
|
||||
<Icon type="home"/> <span
|
||||
className="hide-on-small-only">{this.user.userGeolocation.latitude}, {this.user.userGeolocation.longitude}</span>
|
||||
</Button>
|
||||
</Button>
|
||||
|
||||
</ToolbarGroup>
|
||||
<ToolbarGroup>
|
||||
@@ -902,4 +902,4 @@ class App extends React.Component {
|
||||
}
|
||||
}
|
||||
|
||||
export default withStyles(styles)(App);
|
||||
export default withStyles(styles)(App);
|
||||
|
||||
Reference in New Issue
Block a user