Skip to content

Commit

Permalink
fix: update expanded on click
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt committed Apr 12, 2024
1 parent 6ece6ce commit 3adb778
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ const RightExamplesPanel: React.FunctionComponent = () => {
const handleOnSelect = (eventKey: string | number | undefined): void => {
if (!eventKey)
return;
setExpandedId(eventKey as string)
const params = new URLSearchParams(window.location.search)
params.set("e", String(eventKey))
params.delete("s")
Expand Down

0 comments on commit 3adb778

Please sign in to comment.