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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user