Skip to content
This repository was archived by the owner on Apr 2, 2025. It is now read-only.

Conversation

@bryangingechen
Copy link
Contributor

As requested on Zulip

}
const matchFirstGoal = new RegExp(/^ (([^\n]+\n)+[^\n]+)\n\n/m);
function insertFirstGoal() {
const goal = info.record && info.record.state;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const goal = info.record && info.record.state;
const goal = info.record?.state;

I hope this already works in typescript.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants