diff --git a/packages/live-previews/src/scope/common.tsx b/packages/live-previews/src/scope/common.tsx index 647a64c5ff103..fb1059be7e719 100644 --- a/packages/live-previews/src/scope/common.tsx +++ b/packages/live-previews/src/scope/common.tsx @@ -3,7 +3,7 @@ import * as ReactRouter from "react-router"; import type * as RefineCoreTypes from "@refinedev/core"; import * as RefineReactRouter from "@refinedev/react-router"; import * as RefineSimpleRest from "@refinedev/simple-rest"; -import * as RefineRest from "@refinedev/rest"; +import * as RefineRest from "@refinedev/rest/simple-rest"; import * as RefineReactHookForm from "@refinedev/react-hook-form"; import * as RefineReactTable from "@refinedev/react-table"; import * as ReactHookForm from "react-hook-form"; diff --git a/packages/live-previews/src/scope/map.tsx b/packages/live-previews/src/scope/map.tsx index 97557bceb369f..92e28d9c94f12 100644 --- a/packages/live-previews/src/scope/map.tsx +++ b/packages/live-previews/src/scope/map.tsx @@ -8,7 +8,7 @@ export const packageMap: Record = { "@refinedev/mantine": "RefineMantine", "@refinedev/chakra-ui": "RefineChakra", "@refinedev/simple-rest": "RefineSimpleRest", - "@refinedev/rest": "RefineRest", + "@refinedev/rest/simple-rest": "RefineRest", "@refinedev/react-hook-form": "RefineReactHookForm", "@refinedev/react-table": "RefineReactTable", "@refinedev/inferencer/antd": "RefineAntdInferencer", @@ -67,5 +67,5 @@ export const packageScopeMap: Record = { "@mui/material": /@mui\/material\/(.*)/, "@mui/icons-material": /@mui\/icons-material\/(.*)/, "@mui/x-data-grid": /@mui\/x-data-grid\/(.*)/, - "@refinedev/rest": /@refinedev\/rest\/(.*)/, + "@refinedev/rest/simple-rest": /@refinedev\/rest\/simple-rest\/(.*)/, }; diff --git a/packages/live-previews/src/scope/refine-rest.tsx b/packages/live-previews/src/scope/refine-rest.tsx index 0acad3c0e6966..c91ae9f71b3cf 100644 --- a/packages/live-previews/src/scope/refine-rest.tsx +++ b/packages/live-previews/src/scope/refine-rest.tsx @@ -1,4 +1,4 @@ -import * as RefineRest from "@refinedev/rest"; +import * as RefineRest from "@refinedev/rest/simple-rest"; const RefineRestScope = { RefineRest,