Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Simplify imports in useIsMobile hook #23

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

Merged
merged 2 commits into from
Feb 24, 2025

Conversation

Rinnsy
Copy link
Contributor

@Rinnsy Rinnsy commented Feb 24, 2025

This merge request now imports the useEffect and useState hooks directly from 'react' rather than using a namespace import in the useMobile hook. This change ensures consistency with the import style already used in the useAppearance and useMobileNavigation hooks.

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.

Looks great! Thanks for the PR.

@taylorotwell taylorotwell merged commit a548ffb into laravel:main Feb 24, 2025
2 checks passed
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