Skip to content

Conversation

@matthiasweiss
Copy link
Contributor

Hello, looking further through the start kit and it looks really good, I love it!

One small thing I found: Since localStorage.getItem returns string | null, the type assertion should reflect the | null part as well. In this use case it does not matter, since the value of savedAppearance is only used in the line below, and it is defaulted there, but the assertion should be done properly.

Copy link
Contributor

@tnylea tnylea left a comment

Choose a reason for hiding this comment

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

Good call. Thanks for that addition.

@taylorotwell taylorotwell merged commit 6e145d9 into laravel:main Feb 24, 2025
2 checks passed
lucianodigital2b referenced this pull request in lucianodigital2b/clevernote Jul 1, 2025
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

Successfully merging this pull request may close these issues.

3 participants