Skip to content

Commit

Permalink
fix: Move key up to avoid warning
Browse files Browse the repository at this point in the history
  • Loading branch information
zatteo committed Oct 10, 2023
1 parent 3ec7da4 commit c02746a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ const BackupAppHighlightAlert = ({ apps }) => {

return (
<AppHighlightAlert
key="BackupAppHighlightAlert"
apps={apps}
appToHighlightSlug="photos"
onClose={onClose}
Expand Down
4 changes: 3 additions & 1 deletion src/components/Applications.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ const getApplicationsList = memoize(data => {

const array = apps.map(app => <AppTile key={app.id} app={app} />)

array.push(<BackupAppHighlightAlert apps={apps} />)
array.push(
<BackupAppHighlightAlert key="BackupAppHighlightAlert" apps={apps} />
)

return array
} else {
Expand Down

0 comments on commit c02746a

Please sign in to comment.