Skip to content

Commit aab1fda

Browse files
committed
fix key
1 parent fdf86fb commit aab1fda

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/App.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,9 @@ const App = () => {
4646
{!!listBotResp && !!listBotResp.botList ?
4747
<Row gutter={{ xs: 8, sm: 16, md: 24, lg: 32 }} style={{ margin: '20px' }}>
4848
{
49-
listBotResp.botList.map(bot => (
49+
listBotResp.botList.sort((b1, b2) => b1.botId.toString().localeCompare(b2.botId.toString())).map(bot => (
5050
<Col
51+
key={bot.botId.toString()}
5152
xl={{ span: 6 }}
5253
lg={{ span: 8 }}
5354
md={{ span: 12 }}

src/components/SolveCaptcha.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ import SmsCaptcha from './SmsCaptcha'
55
import SliderCaptcha from './SliderCaptcha'
66
import UnsafeDeviceCaptcha from './UnsafeDeviceCaptcha'
77

8-
9-
108
interface SolveCaptchaProp {
119
isVisible: boolean;
1210
onClose: (() => void);

0 commit comments

Comments
 (0)