diff options
author | 2021-09-13 14:45:46 +0200 | |
---|---|---|
committer | 2021-09-13 14:45:46 +0200 | |
commit | 537697a6e9757f118d09d9e76362ba1ff617e2c6 (patch) | |
tree | bc55447115e385137684e84697a8c15d2199b8d5 /src/components/ui/StatusBarTargetUrl.js | |
parent | Bumped up version to: 5.6.3-nightly.0 [skip ci] (diff) | |
download | ferdium-app-537697a6e9757f118d09d9e76362ba1ff617e2c6.tar.gz ferdium-app-537697a6e9757f118d09d9e76362ba1ff617e2c6.tar.zst ferdium-app-537697a6e9757f118d09d9e76362ba1ff617e2c6.zip |
chore: upgrade intl dependencies (#1920)
Diffstat (limited to 'src/components/ui/StatusBarTargetUrl.js')
-rw-r--r-- | src/components/ui/StatusBarTargetUrl.js | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/src/components/ui/StatusBarTargetUrl.js b/src/components/ui/StatusBarTargetUrl.js index 6fc50fe5c..ff4e8c795 100644 --- a/src/components/ui/StatusBarTargetUrl.js +++ b/src/components/ui/StatusBarTargetUrl.js | |||
@@ -5,7 +5,8 @@ import classnames from 'classnames'; | |||
5 | 5 | ||
6 | import Appear from './effects/Appear'; | 6 | import Appear from './effects/Appear'; |
7 | 7 | ||
8 | export default @observer class StatusBarTargetUrl extends Component { | 8 | @observer |
9 | class StatusBarTargetUrl extends Component { | ||
9 | static propTypes = { | 10 | static propTypes = { |
10 | className: PropTypes.string, | 11 | className: PropTypes.string, |
11 | text: PropTypes.string, | 12 | text: PropTypes.string, |
@@ -17,10 +18,7 @@ export default @observer class StatusBarTargetUrl extends Component { | |||
17 | }; | 18 | }; |
18 | 19 | ||
19 | render() { | 20 | render() { |
20 | const { | 21 | const { className, text } = this.props; |
21 | className, | ||
22 | text, | ||
23 | } = this.props; | ||
24 | 22 | ||
25 | return ( | 23 | return ( |
26 | <Appear | 24 | <Appear |
@@ -29,10 +27,10 @@ export default @observer class StatusBarTargetUrl extends Component { | |||
29 | [`${className}`]: true, | 27 | [`${className}`]: true, |
30 | })} | 28 | })} |
31 | > | 29 | > |
32 | <div className="status-bar-target-url__content"> | 30 | <div className="status-bar-target-url__content">{text}</div> |
33 | {text} | ||
34 | </div> | ||
35 | </Appear> | 31 | </Appear> |
36 | ); | 32 | ); |
37 | } | 33 | } |
38 | } | 34 | } |
35 | |||
36 | export default StatusBarTargetUrl; | ||