diff options
author | 2017-11-23 11:30:35 +0100 | |
---|---|---|
committer | 2017-11-23 11:30:35 +0100 | |
commit | 27894ebbbf38193a6f77dc9837731bca081afd32 (patch) | |
tree | 06c5ee6b0905d7db5be618a18bc788d7361c2074 /src/models/User.js | |
parent | Add SettingsModel and fix issue with improper mobx data handling (diff) | |
download | ferdium-app-27894ebbbf38193a6f77dc9837731bca081afd32.tar.gz ferdium-app-27894ebbbf38193a6f77dc9837731bca081afd32.tar.zst ferdium-app-27894ebbbf38193a6f77dc9837731bca081afd32.zip |
Remove flow types
Diffstat (limited to 'src/models/User.js')
-rw-r--r-- | src/models/User.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/models/User.js b/src/models/User.js index 94b579928..e2d2fc0c8 100644 --- a/src/models/User.js +++ b/src/models/User.js | |||
@@ -16,7 +16,7 @@ export default class User { | |||
16 | @observable isDonor = false; | 16 | @observable isDonor = false; |
17 | @observable isMiner = false; | 17 | @observable isMiner = false; |
18 | 18 | ||
19 | constructor(data: Object) { | 19 | constructor(data) { |
20 | if (!data.id) { | 20 | if (!data.id) { |
21 | throw Error('User requires Id'); | 21 | throw Error('User requires Id'); |
22 | } | 22 | } |