Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build issues: "searchParams" is possibly 'null' TypeError and other potential issues #15

Closed
KennethOnuorah opened this issue Feb 28, 2024 · 0 comments

Comments

@KennethOnuorah
Copy link
Owner

KennethOnuorah commented Feb 28, 2024

Getting this error on deployment type error: 'searchParams' is possibly 'null'. I plan on getting around this by using non-null assertions (!); may need to do this on other files as well.

error

Update (7:44 PM): I was right, will have to add non-null assertions anywhere the useSearchParams hook is defined and used.

@KennethOnuorah KennethOnuorah changed the title #1: Build issues: "searchParams" is possibly 'null' TypeError and other potential issues Build issues: "searchParams" is possibly 'null' TypeError and other potential issues Feb 28, 2024
KennethOnuorah added a commit that referenced this issue Feb 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant