Skip to content

Commit

Permalink
Use more succinct syntax
Browse files Browse the repository at this point in the history
Co-authored-by: Teale Fristoe <[email protected]>
  • Loading branch information
lublagg and tealefristoe authored Sep 4, 2024
1 parent 41af412 commit 509d6ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ export default class App extends Component {
try {
if (createNewTable) {
// create new data context for sharing
const newContext = await Codap.createDataContext({title: newTableName? newTableName : kNewDataContextTitle});
const newContext = await Codap.createDataContext({title: newTableName ?? kNewDataContextTitle});
if (newContext) {
dataContextName = newContext.name;
this.updateSelectedDataContext(dataContextName);
Expand Down

0 comments on commit 509d6ed

Please sign in to comment.