Skip to content
Snippets Groups Projects
Unverified Commit df7ff569 authored by Walter Leibbrandt's avatar Walter Leibbrandt Committed by GitHub
Browse files

Give each action button a unique key (#11834)


* Give each action button a unique key

* Update frontend/src/metabase/query_builder/components/notebook/NotebookStep.jsx

Co-Authored-By: default avatarKyle Doherty <kdoh@users.noreply.github.com>

Co-authored-by: default avatarKyle Doherty <kdoh@users.noreply.github.com>
parent 6d2cf8f0
No related branches found
No related tags found
No related merge requests found
......@@ -124,6 +124,7 @@ export default class NotebookStep extends React.Component {
mt={isLastStep ? 2 : null}
large={largeActionButtons}
{...(STEP_UI[action.type] || {})}
key={`actionButton_${STEP_UI[action.type].title}`}
onClick={() => action.action({ query: step.query, openStep })}
/>
),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment