diff options
author | 2019-01-14 17:56:03 +0100 | |
---|---|---|
committer | 2019-02-12 13:39:04 +0100 | |
commit | 73fcc05f34d5e707df5abbc744f7fe3313efb226 (patch) | |
tree | c965b28be1f80464bd078704152cecda5b55c2b2 /src/components | |
parent | fix eslint error (diff) | |
download | ferdium-app-73fcc05f34d5e707df5abbc744f7fe3313efb226.tar.gz ferdium-app-73fcc05f34d5e707df5abbc744f7fe3313efb226.tar.zst ferdium-app-73fcc05f34d5e707df5abbc744f7fe3313efb226.zip |
assign react key prop to workspace items
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/settings/workspaces/WorkspacesDashboard.js | 7 |
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 | )} |