interface: move base hash to corner of launch

Fixes #2699
This commit is contained in:
Liam Fitzgerald 2020-07-16 10:20:08 +10:00
parent 081bb184c7
commit 79efb611da
3 changed files with 3 additions and 5 deletions

View File

@ -70,7 +70,6 @@ export default class App extends React.Component {
const associations = this.state.associations ? this.state.associations : { contacts: {} };
const selectedGroups = this.state.selectedGroups ? this.state.selectedGroups : [];
const { state } = this;
const baseHash = this.state.baseHash;
return (
<ThemeProvider theme={light}>
@ -79,7 +78,6 @@ export default class App extends React.Component {
<StatusBarWithRouter props={this.props}
associations={associations}
invites={this.state.invites}
baseHash={baseHash}
api={this.api}
/>
<Content>

View File

@ -24,6 +24,7 @@ export default class LaunchApp extends React.Component {
const { props } = this;
return (
<div className="h-100 flex flex-column h-100">
<div className='v-mid ph2 dtc-m dtc-l dtc-xl flex justify-between flex-wrap' style={{ maxWidth: '40rem' }}>
<Welcome firstTime={props.launch.firstTime} api={props.api} />
<Tiles
@ -34,6 +35,8 @@ export default class LaunchApp extends React.Component {
weather={props.weather}
/>
</div>
<div className="gray2-d gray2 ml4 mb4 f8"> {props.baseHash} </div>
</div>
);
}
}

View File

@ -66,9 +66,6 @@ const StatusBar = (props) => {
}
<p className="dib f9 v-mid inter ml2 white-d">{locationName}</p>
</div>
<div className="tr gray2-d gray2 mr4 f9">
{ props.baseHash }
</div>
</div>
);
};