Skip to content

Commit

Permalink
Merge pull request ProjectMirador#2521 from ProjectMirador/2497-remov…
Browse files Browse the repository at this point in the history
…e-version

Removes version from Branding, causing an issue when package.json is …
  • Loading branch information
aeschylus authored Apr 16, 2019
2 parents b5a1f65 + ca33642 commit 9e408be
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion __tests__/src/components/Branding.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ describe('Branding', () => {
<div>
<div>
<Typography>mirador</Typography>
<Typography>version</Typography>
</div>
<Typography>
<IconButton>
Expand Down
2 changes: 0 additions & 2 deletions src/components/Branding.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import PropTypes from 'prop-types';
import IconButton from '@material-ui/core/IconButton';
import Typography from '@material-ui/core/Typography';
import MiradorIcon from './icons/MiradorIcon';
import { version } from '../../package.json';

/**
* Opens a new window for click
Expand All @@ -22,7 +21,6 @@ export class Branding extends Component {
{ variant === 'wide' && (
<div>
<Typography align="center" component="p" variant="h3">{t('mirador')}</Typography>
<Typography align="center" variant="caption">{t('version', { version })}</Typography>
</div>
)}
<Typography align="center">
Expand Down
1 change: 0 additions & 1 deletion src/locales/de/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,6 @@
"toggleWindowSideBar": "Seitenleiste umschalten",
"tryAgain": "Wiederholen",
"untitled": "[Unbenannt]",
"version": "version {{version}}",
"view": "Ansicht",
"welcome": "Willkommen bei Mirador",
"window": "Fenster: {{label}}",
Expand Down
1 change: 0 additions & 1 deletion src/locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@
"toggleWindowSideBar": "Toggle sidebar",
"tryAgain": "Try again",
"untitled": "[Untitled]",
"version": "version {{version}}",
"view": "View items as",
"welcome": "Welcome to Mirador",
"window": "Window: {{label}}",
Expand Down

0 comments on commit 9e408be

Please sign in to comment.