chore: playground hotkey

This commit is contained in:
jialin
2024-06-25 17:09:47 +08:00
parent a7ea167298
commit ad9775db69
13 changed files with 122 additions and 37 deletions
+3 -3
View File
@@ -8,8 +8,8 @@ import Nodes from './components/nodes';
const items: TabsProps['items'] = [
{
key: 'nodes',
label: 'Nodes',
key: 'workers',
label: 'Workers',
children: <Nodes />
},
{
@@ -38,7 +38,7 @@ const Resources = () => {
<div style={{ marginTop: 70 }}>
<Tabs
type="card"
defaultActiveKey="nodes"
defaultActiveKey="workers"
items={items}
accessKey={activeKey}
onChange={handleChangeTab}