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

Use shadcn built-in check for sidebar state #82

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

JoeyMckenzie
Copy link
Contributor

@JoeyMckenzie JoeyMckenzie commented Mar 10, 2025

Shadcn includes built-in functionality to determine the sidebar state via cookie, so the local component logic utilizing local storage is unnecessary. I've also renamed the cookie name in utils.ts to reflect what's in the documentation.

This change is the Vue version of the same change being made to the React starter kit.

@tnylea
Copy link
Contributor

tnylea commented Mar 19, 2025

Looks great! Thanks @JoeyMckenzie.

@tnylea tnylea added the Approved Approved for merge label Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Approved Approved for merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants