mirror of
https://github.com/MODSetter/SurfSense.git
synced 2025-09-02 02:29:08 +00:00
Fix(ui): key prop warning in dashboard page by adding a key to the Link component for each search space.
This commit is contained in:
parent
02fc295812
commit
e3e5a2fb90
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ const DashboardPage = () => {
|
|||
|
||||
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
||||
{searchSpaces && searchSpaces.map((space) => (
|
||||
<Link href={`/dashboard/${space.id}/documents`}>
|
||||
<Link href={`/dashboard/${space.id}/documents`} key={space.id}>
|
||||
<motion.div
|
||||
key={space.id}
|
||||
variants={itemVariants}
|
||||
|
|
Loading…
Add table
Reference in a new issue