mirror of
https://github.com/urbit/shrub.git
synced 2025-01-04 10:32:34 +03:00
leap: error trapping, fixes icon bug
This commit is contained in:
parent
5b678c1bf9
commit
02d74a4b19
@ -34,7 +34,7 @@ const commandIndex = function () {
|
|||||||
|
|
||||||
title = title.charAt(0).toUpperCase() + title.slice(1);
|
title = title.charAt(0).toUpperCase() + title.slice(1);
|
||||||
|
|
||||||
let obj = result(`${title}: Create`, `/~${e}/new`, e, null);
|
let obj = result(`${title}: Create`, `/~${e}/new`, title, null);
|
||||||
commands.push(obj);
|
commands.push(obj);
|
||||||
|
|
||||||
if (title === 'Groups') {
|
if (title === 'Groups') {
|
||||||
|
@ -17,6 +17,7 @@ import dark from './themes/old-dark';
|
|||||||
import { Content } from './components/Content';
|
import { Content } from './components/Content';
|
||||||
import StatusBar from './components/StatusBar';
|
import StatusBar from './components/StatusBar';
|
||||||
import Omnibox from './components/leap/Omnibox';
|
import Omnibox from './components/leap/Omnibox';
|
||||||
|
import ErrorBoundary from '~/views/components/ErrorBoundary';
|
||||||
|
|
||||||
import GlobalStore from '~/logic/store/store';
|
import GlobalStore from '~/logic/store/store';
|
||||||
import GlobalSubscription from '~/logic/subscription/global';
|
import GlobalSubscription from '~/logic/subscription/global';
|
||||||
@ -132,28 +133,34 @@ class App extends React.Component {
|
|||||||
</Helmet>
|
</Helmet>
|
||||||
<Root background={background} >
|
<Root background={background} >
|
||||||
<Router>
|
<Router>
|
||||||
<StatusBarWithRouter
|
<ErrorBoundary>
|
||||||
props={this.props}
|
<StatusBarWithRouter
|
||||||
associations={associations}
|
props={this.props}
|
||||||
invites={this.state.invites}
|
associations={associations}
|
||||||
api={this.api}
|
invites={this.state.invites}
|
||||||
connection={this.state.connection}
|
api={this.api}
|
||||||
subscription={this.subscription}
|
connection={this.state.connection}
|
||||||
ship={this.ship}
|
subscription={this.subscription}
|
||||||
/>
|
ship={this.ship}
|
||||||
<Omnibox
|
/>
|
||||||
associations={state.associations}
|
</ErrorBoundary>
|
||||||
apps={state.launch}
|
<ErrorBoundary>
|
||||||
api={this.api}
|
<Omnibox
|
||||||
dark={state.dark}
|
associations={state.associations}
|
||||||
show={state.omniboxShown}
|
apps={state.launch}
|
||||||
/>
|
api={this.api}
|
||||||
<Content
|
dark={state.dark}
|
||||||
ship={this.ship}
|
show={state.omniboxShown}
|
||||||
api={this.api}
|
/>
|
||||||
subscription={this.subscription}
|
</ErrorBoundary>
|
||||||
{...state}
|
<ErrorBoundary>
|
||||||
/>
|
<Content
|
||||||
|
ship={this.ship}
|
||||||
|
api={this.api}
|
||||||
|
subscription={this.subscription}
|
||||||
|
{...state}
|
||||||
|
/>
|
||||||
|
</ErrorBoundary>
|
||||||
</Router>
|
</Router>
|
||||||
</Root>
|
</Root>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
|
Loading…
Reference in New Issue
Block a user