mirror of
https://github.com/oxen-io/session-desktop.git
synced 2023-12-14 02:12:57 +01:00
Typescript 3.7
This commit is contained in:
parent
640999ab61
commit
b4cb6e1087
|
@ -192,7 +192,7 @@
|
|||
"tslint": "5.13.0",
|
||||
"tslint-microsoft-contrib": "6.0.0",
|
||||
"tslint-react": "3.6.0",
|
||||
"typescript": "3.3.3333",
|
||||
"typescript": "3.7",
|
||||
"webpack": "4.4.1"
|
||||
},
|
||||
"engines": {
|
||||
|
|
|
@ -134,13 +134,9 @@ export class SessionPasswordModal extends React.Component<Props, State> {
|
|||
}
|
||||
|
||||
private async setPassword(onSuccess: any) {
|
||||
if (!this.passwordInput.current || !this.passwordInputConfirm.current) {
|
||||
return;
|
||||
}
|
||||
|
||||
// Trim leading / trailing whitespace for UX
|
||||
const enteredPassword = String(this.passwordInput.current.value).trim();
|
||||
const enteredPasswordConfirm = String(this.passwordInputConfirm.current.value).trim();
|
||||
const enteredPassword = String(this.passwordInput.current?.value).trim();
|
||||
const enteredPasswordConfirm = String(this.passwordInputConfirm.current?.value).trim();
|
||||
|
||||
if (enteredPassword.length === 0 || enteredPasswordConfirm.length === 0) {
|
||||
return;
|
||||
|
|
|
@ -10553,10 +10553,10 @@ typedarray@^0.0.6:
|
|||
resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777"
|
||||
integrity sha1-hnrHTjhkGHsdPUfZlqeOxciDB3c=
|
||||
|
||||
typescript@3.3.3333:
|
||||
version "3.3.3333"
|
||||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.3.3333.tgz#171b2c5af66c59e9431199117a3bcadc66fdcfd6"
|
||||
integrity sha512-JjSKsAfuHBE/fB2oZ8NxtRTk5iGcg6hkYXMnZ3Wc+b2RSqejEqTaem11mHASMnFilHrax3sLK0GDzcJrekZYLw==
|
||||
typescript@3.7:
|
||||
version "3.7.5"
|
||||
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.7.5.tgz#0692e21f65fd4108b9330238aac11dd2e177a1ae"
|
||||
integrity sha512-/P5lkRXkWHNAbcJIiHPfRoKqyd7bsyCma1hZNUGfn20qm64T6ZBlrzprymeu918H+mB/0rIg2gGK/BXkhhYgBw==
|
||||
|
||||
uc.micro@^1.0.1:
|
||||
version "1.0.6"
|
||||
|
|
Loading…
Reference in a new issue