About Component and link removed
This commit is contained in:
1 parent
b034c02ed0
commit
e802de06c7
4 files changed
+7440
-4747
No files matched your search
Generated
+6397
-3701
File diff suppressed because it is too large.
Load diff
@@ -75,6 +75,7 @@
|
||||
"graphql": "^14.0.2",
|
||||
"graphql-tag": "^2.10.0",
|
||||
"mini-css-extract-plugin": "^0.4.4",
|
||||
"npm": "^6.4.1",
|
||||
"optimize-css-assets-webpack-plugin": "^5.0.1",
|
||||
"prop-types": "^15.6.2",
|
||||
"react": "^16.5.2",
|
||||
|
||||
@@ -21,7 +21,6 @@ import { LoggedOut } from './LoggedOut'
|
||||
|
||||
import AALogo from '../../assets/advanced-algos/aa-logo-dark.svg'
|
||||
|
||||
const AboutLink = props => <Link to='/about' {...props} />
|
||||
const UsersLink = props => <Link to='/users' {...props} />
|
||||
const TeamsLink = props => <Link to='/teams' {...props} />
|
||||
const KeyVaultLink = props => <Link to='/key-vault' {...props} />
|
||||
@@ -110,9 +109,6 @@ class Header extends Component {
|
||||
<Button component={TeamsLink} color='inherit'>
|
||||
Teams
|
||||
</Button>
|
||||
<Button component={AboutLink} color='inherit'>
|
||||
About
|
||||
</Button>
|
||||
|
||||
{this.state.user !== undefined && this.state.user !== null ? (
|
||||
<React.Fragment>
|
||||
|
||||
Generated
+1042
-1042
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user