aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLibravatar Dominik Guzei <dominik.guzei@gmail.com>2019-01-14 17:56:03 +0100
committerLibravatar Dominik Guzei <dominik.guzei@gmail.com>2019-02-12 13:39:04 +0100
commit73fcc05f34d5e707df5abbc744f7fe3313efb226 (patch)
treec965b28be1f80464bd078704152cecda5b55c2b2 /src
parentfix eslint error (diff)
downloadferdium-app-73fcc05f34d5e707df5abbc744f7fe3313efb226.tar.gz
ferdium-app-73fcc05f34d5e707df5abbc744f7fe3313efb226.tar.zst
ferdium-app-73fcc05f34d5e707df5abbc744f7fe3313efb226.zip
assign react key prop to workspace items
Diffstat (limited to 'src')
-rw-r--r--src/components/settings/workspaces/WorkspacesDashboard.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/components/settings/workspaces/WorkspacesDashboard.js b/src/components/settings/workspaces/WorkspacesDashboard.js
index 830f32f08..c6378ac1e 100644
--- a/src/components/settings/workspaces/WorkspacesDashboard.js
+++ b/src/components/settings/workspaces/WorkspacesDashboard.js
@@ -43,7 +43,12 @@ class WorkspacesDashboard extends Component {
43 ) : ( 43 ) : (
44 <table className="service-table"> 44 <table className="service-table">
45 <tbody> 45 <tbody>
46 {workspaces.map(workspace => <WorkspaceItem workspace={workspace} />)} 46 {workspaces.map(workspace => (
47 <WorkspaceItem
48 key={workspace.id}
49 workspace={workspace}
50 />
51 ))}
47 </tbody> 52 </tbody>
48 </table> 53 </table>
49 )} 54 )}