Skip to content

Commit

Permalink
Don't show error message if user goes back from last page.
Browse files Browse the repository at this point in the history
  • Loading branch information
lublagg committed Sep 10, 2024
1 parent e6ff818 commit d50f59e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ui-pages/join-and-merge-table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const JoinAndMergeTable = (props: JoinAndMergeTableProps) => {
<div className="button-row">
<button
className="cancel-button"
onClick={() => updateState({ joinAndMergeTable: false })}>
onClick={() => updateState({ joinAndMergeTable: false, showJoinShareError: false })}>
{BACK}
</button>
<button
Expand Down
2 changes: 1 addition & 1 deletion src/ui-pages/join-without-merging.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export const JoinWithoutMerging = (props: JoinWithoutMergingProps) => {
<div className="button-row">
<button
className="cancel-button"
onClick={() => updateState({ joinWithoutMerging: false })}>
onClick={() => updateState({ joinWithoutMerging: false, showJoinShareError: false })}>
{BACK}
</button>
<button
Expand Down

0 comments on commit d50f59e

Please sign in to comment.