mirror of
https://github.com/APIParkLab/APIPark.git
synced 2026-06-14 20:41:15 +08:00
feat: fetch data from api
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -41,7 +41,7 @@ export const KeyStatusNode: React.FC<{ data: KeyStatusNodeData }> = ({ data }) =
|
||||
}}
|
||||
className={`
|
||||
rounded-md flex-shrink-0
|
||||
${key.status === 'enabled' || key.status === 'normal' ? 'bg-green-500' : 'bg-red-500'}
|
||||
${key.status === 'normal' ? 'bg-green-500' : 'bg-red-500'}
|
||||
transition-all duration-200 hover:opacity-80
|
||||
`}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user