feat: Add some of the missing pieces in the create product form (#6918)

The changes are still partial, there is more work to be done to have everything function properly.
Also, refactored the file upload from the product media form to a separate component
This commit is contained in:
Stevche Radevski
2024-04-04 10:27:33 +00:00
committed by GitHub
parent 483bf98a49
commit 06b2f0a8dc
8 changed files with 545 additions and 222 deletions
@@ -6,7 +6,7 @@ import {
import { v1Routes } from "./v1"
import { v2Routes } from "./v2"
const V2_ENABLED = import.meta.env.VITE_MEDUSA_V2 || false
const V2_ENABLED = import.meta.env.VITE_MEDUSA_V2 === "true"
const router = createBrowserRouter(V2_ENABLED ? v2Routes : v1Routes)