From 2a0f01525f14eee444394bb2090862f4bf858d79 Mon Sep 17 00:00:00 2001 From: Teale Fristoe Date: Wed, 18 Sep 2024 16:37:14 -0700 Subject: [PATCH] Fix joining with a new table. --- src/App.tsx | 6 +++--- src/ui-pages/join-without-merging.tsx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index cf8161c..5decd0e 100755 --- a/src/App.tsx +++ b/src/App.tsx @@ -87,12 +87,12 @@ export default class App extends Component { const handleDataContextChange = (event: ChangeEvent) => this.handleDataContextChange(event); const initiateShare = (selectedContext?: string) => { if (selectedContext) this.setState({ selectedDataContext: selectedContext }); - this.initiateShare() + this.initiateShare(); }; const joinShare = (selectedContext?: string) => { if (selectedContext) this.setState({ selectedDataContext: selectedContext }); - this.joinShare() - } + this.joinShare(); + }; const availableContextOptions = availableDataContexts.map((dc: DataContext) => diff --git a/src/ui-pages/join-without-merging.tsx b/src/ui-pages/join-without-merging.tsx index 87c3076..48af425 100644 --- a/src/ui-pages/join-without-merging.tsx +++ b/src/ui-pages/join-without-merging.tsx @@ -34,7 +34,7 @@ export const JoinWithoutMerging = (props: JoinWithoutMergingProps) => {