useSession dangerous when running app in a universe base

I noticed useSession can return null/undefined when running an app in a base in the Airtable universe. This can cause fatal bugs when code relies on it not being null.

It might be worth making a note of this on the docs Airtable Blocks SDK and making the TypeScript type nullable.

1 Like

This topic was solved and automatically closed 15 days after the last reply. New replies are no longer allowed.