diff --git a/src/components/App/index.js b/src/components/App/index.js index 3c59572..e703dea 100644 --- a/src/components/App/index.js +++ b/src/components/App/index.js @@ -42,7 +42,7 @@ class App extends React.PureComponent { this.setState({ svgUrl: { url: URL.createObjectURL(blob), - label: this.props.t('Download SVG'), + label: 'Download SVG', filename: 'image.svg', type } @@ -61,7 +61,7 @@ class App extends React.PureComponent { this.setState({ pngUrl: { url: URL.createObjectURL(blob), - label: this.props.t('Download PNG'), + label: 'Download PNG', filename: 'image.png', type } diff --git a/src/components/Form/__snapshots__/test.js.snap b/src/components/Form/__snapshots__/test.js.snap index 23e9087..2758260 100644 --- a/src/components/Form/__snapshots__/test.js.snap +++ b/src/components/Form/__snapshots__/test.js.snap @@ -107,7 +107,9 @@ exports[`Form rendering with download URLs 1`] = ` type="image/svg+xml" > - Download SVG + + Download SVG +
  • - Download PNG + + Download PNG +
  • diff --git a/src/components/Form/index.js b/src/components/Form/index.js index 3727ea2..5bbcded 100644 --- a/src/components/Form/index.js +++ b/src/components/Form/index.js @@ -66,7 +66,7 @@ class Form extends React.PureComponent { return downloadUrls.map(({ url, filename, type, label }, i) =>
  • - { label } + { label }
  • ); }