Figma Make: Supabase index.tsx keeps resetting to default template in every chat
After migrating my Figma Make project to the latest version, I encountered an issue where the supabase/functions/server/index.tsx file keeps automatically resetting to the default 26-line template.
This issue occurs after almost every chat interaction or change made through the Figma Make AI assistant. Whenever I submit a prompt, request changes, or ask the AI to run a test, the platform unexpectedly overwrites the existing index.tsx file with the default template, without any notification, warning, or permission.
As shown in the screenshots, even after successfully restoring the original code, the file was automatically reset again following another interaction. This has happened repeatedly, causing my existing backend code to be overwritten and disrupting development.
The issue only started after migrating to the latest version of Figma Make. Could you please investigate and help resolve it? Support ID: srid_5X7JGSM9BK45H9GH2HFWGAQ2H
I couldn't upload the screenshots directly in the description, so I've provided a Google Drive link for reference.
Image reference: https://drive.google.com/file/d/1miptgUUGkKGw60RNrHUtTg-XAAqLUoOW/view?usp=sharing
Thank you.
