[fix] launch option iter key
This commit is contained in:
@@ -20,7 +20,7 @@ const LaunchOption = () => {
|
||||
</CardIcon>
|
||||
<CardTool>
|
||||
{tool.state.launchOptions.map((option, index) => (
|
||||
<ToolButton key={option} onClick={() => tool.setLaunchIndex(index)}>
|
||||
<ToolButton key={index} onClick={() => tool.setLaunchIndex(index)}>
|
||||
{index + 1}
|
||||
</ToolButton>
|
||||
))}
|
||||
|
||||
@@ -144,7 +144,7 @@ export function Prepare() {
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
<p className="text-white">{links || 'no'}</p>
|
||||
{links.length > 0 && <p className="text-white">{links}</p>}
|
||||
|
||||
<section className="flex justify-center w-full gap-3 mt-6">
|
||||
<Button onPress={() => alert("获取")} variant="ghost" color="default" size="sm">
|
||||
|
||||
Reference in New Issue
Block a user