Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Commit

Permalink
fix yarn.lock
Browse files Browse the repository at this point in the history
  • Loading branch information
mgilangjanuar committed May 12, 2022
1 parent 6f4bd9a commit f33c811
Show file tree
Hide file tree
Showing 3 changed files with 991 additions and 54 deletions.
6 changes: 3 additions & 3 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"react-otp-input": "^2.4.0",
"react-paypal-button-v2": "^2.6.3",
"react-player": "^2.10.1",
"react-qr-code": "^2.0.3",
"react-qr-code": "^2.0.7",
"react-router-dom": "^5.3.0",
"react-scripts": "^4.0.3",
"react-twitter-widgets": "^1.10.0",
Expand All @@ -49,7 +49,7 @@
"typescript": "^4.0.3",
"use-debounce": "^7.0.1",
"web-vitals": "^0.2.4",
"world_countries_lists": "^2.3.0"
"world_countries_lists": "^2.5.1"
},
"scripts": {
"start": "react-scripts start",
Expand Down Expand Up @@ -109,4 +109,4 @@
"workbox-strategies": "^5.1.3",
"workbox-streams": "^5.1.3"
}
}
}
4 changes: 2 additions & 2 deletions web/src/pages/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import useSWRImmutable from 'swr/immutable'
import { Api } from 'teledrive-client'
import { generateRandomBytes } from 'teledrive-client/Helpers'
import { computeCheck } from 'teledrive-client/Password'
import en from 'world_countries_lists/data/en/world.json'
import en from 'world_countries_lists/data/countries/en/world.json'
import { fetcher, req } from '../utils/Fetcher'
import { anonymousTelegramClient, telegramClient } from '../utils/Telegram'

Expand Down Expand Up @@ -497,7 +497,7 @@ const Login: React.FC<Props> = ({ me }) => {
<Typography.Paragraph type="secondary">
Authentication code sent to <b>+{phoneData.code}&bull;&bull;&bull;&bull;&bull;&bull;&bull;{phoneData.phone?.substring(phoneData.phone.length - 4)}</b>
</Typography.Paragraph>
<OtpInput numInputs={5} value={otp} onChange={setOtp} isInputNum containerStyle={{ justifyContent: 'center' }} inputStyle={{
<OtpInput numInputs={5} value={otp as string || ''} onChange={setOtp} isInputNum containerStyle={{ justifyContent: 'center' }} inputStyle={{
width: '2.7rem',
height: '2.7rem',
margin: '0 0.3rem 1rem 0',
Expand Down
Loading

0 comments on commit f33c811

Please sign in to comment.