diff options
| author | Andrej Mihajlov <and@mullvad.net> | 2018-06-13 17:20:04 +0200 |
|---|---|---|
| committer | Andrej Mihajlov <and@mullvad.net> | 2018-06-14 10:41:18 +0200 |
| commit | a4534345af8d27bbb5f61ab552f475e5d453cb02 (patch) | |
| tree | e53ed3513cc37bc783defd78a3cf4c948ea6d074 /app/components/Preferences.js | |
| parent | 56ceac7ba465664c43614fad11ec1b0d34eefe77 (diff) | |
| download | mullvadvpn-a4534345af8d27bbb5f61ab552f475e5d453cb02.tar.xz mullvadvpn-a4534345af8d27bbb5f61ab552f475e5d453cb02.zip | |
Migrate to generic props constructor
Diffstat (limited to 'app/components/Preferences.js')
| -rw-r--r-- | app/components/Preferences.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/components/Preferences.js b/app/components/Preferences.js index afe802d958..dfe098999a 100644 --- a/app/components/Preferences.js +++ b/app/components/Preferences.js @@ -12,9 +12,7 @@ export type PreferencesProps = { onClose: () => void, }; -export default class Preferences extends Component { - props: PreferencesProps; - +export default class Preferences extends Component<PreferencesProps> { render() { return ( <Layout> |
