mirror of
https://github.com/darksaid98/oxmysql.git
synced 2026-12-01 22:21:51 +00:00
fix(nui): Add missing key to resource map
This commit is contained in:
1 parent
2fc0aa4de9
commit
4d93b9256a
1 file changed
+2
-2
@@ -31,8 +31,8 @@ const LeftBar: React.FC = () => {
|
||||
return (
|
||||
<Box p="1.2vh" fontSize="1.5vh" float="left" maxWidth="13vh">
|
||||
<VStack align="left">
|
||||
{initData.resources.map((resource) => (
|
||||
<Link to={resource}>
|
||||
{initData.resources.map((resource, index) => (
|
||||
<Link to={resource} key={`${resource}-{index}`}>
|
||||
<Box _hover={{ transform: 'scale(1.1)' }}>{resource}</Box>
|
||||
</Link>
|
||||
))}
|
||||
|
||||
Reference in new issue
Block a user