Github not updating with v0 files

i am busy with an app. when i deploy i get an error that a certain file is missing, but that file is in the correct folder in v0, but when i go to github the file is not there. I add the file manually, but then when i deploy from v0 the file goes missing in gutbub.

the file in questin is @/components/ui/switch, it keeps on being removed from github everytime i deploy from V0

below are the screenshots

@amyegan i need help….
@system

I’ll escalate this internally – there is some special treatment around shadcn components since we will fill them with fallbacks if they’re not included in the codebase, but that shouldn’t overwrite components you’ve added yourself

In the meantime, you should be able to work around this by moving your switch out of the /ui folder and leaving it in /components or similar, where there’s no special treatment

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.