02b52580002cb4c7f57c1c380f3605f50fb4e708
Quick-import buttons hardcoded quantity:1, which the backend writes straight to the stock ledger as an "in" entry — letting one order go through for a product that was never actually stocked. Default to 0 instead, and fix a fallback path that was silently coercing an explicit 0 back to 1 via `|| 1`.
Run and deploy your AI Studio app
This contains everything you need to run your app locally.
View your app in AI Studio: https://ai.studio/apps/0406e53f-aca4-4047-80a3-dbe279cebc0b
Run Locally
Prerequisites: Node.js
- Install dependencies:
npm install - Set the
GEMINI_API_KEYin .env.local to your Gemini API key - Run the app:
npm run dev
Description
Languages
TypeScript
79.9%
CSS
19.4%
JavaScript
0.6%
