Skip to content

Commit

Permalink
Fix key
Browse files Browse the repository at this point in the history
Some actions don't have url
  • Loading branch information
renatho committed Oct 31, 2024
1 parent 21c0b6f commit 971f3f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion assets/home/notices.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const NoticeActions = ( { actions } ) => {
return (
<div className="sensei-notice__actions">
{ actions.map( ( action ) => (
<NoticeAction key={ action.url } action={ action } />
<NoticeAction key={ action.label } action={ action } />
) ) }
</div>
);
Expand Down

0 comments on commit 971f3f2

Please sign in to comment.