mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
chore(docs): turn on strictNullChecks (#36180)
strictNullChecks was off for docs, which lets errors slip through and leads to incorrect required/optional typing on Zod-inferred types. This PR enables strictNullChecks and fixes all the existing violations.
This commit is contained in:
1 parent
5862505164
commit
cf3ecc93eb
70 files changed
+487
-531
No files matched your search
@@ -89,7 +89,7 @@ const StickyHeader: FC<StickyHeader> = ({ icon, ...props }) => {
|
||||
|
||||
// we're serving search bots a different file (/crawlers/[...slug])
|
||||
// and need to modify content to suit that
|
||||
const isCrawlerPage = router.route.includes('/crawlers/[...slug]')
|
||||
const isCrawlerPage = router?.route.includes('/crawlers/[...slug]') || false
|
||||
|
||||
const { ref } = useInView({
|
||||
threshold: 1,
|
||||
|
||||
Reference in new issue
Block a user