Skip to content

Commit

Permalink
fix: Rename StoryblokBridgeLoader
Browse files Browse the repository at this point in the history
  • Loading branch information
fgiuliani committed Aug 18, 2023
1 parent c3574a0 commit f868fb6
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/rsc/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
export * from "../common";
export { default as StoryblokStory } from "../story";
export { default as BridgeLoader } from "../bridge-loader";
export { default as StoryblokBridgeLoader } from "../bridge-loader";
2 changes: 1 addition & 1 deletion lib/testing-components/TestRsc.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import {
StoryblokComponent,
SbReactComponentsMap,
SbBlokData,
StoryblokBridgeLoader,
} from "@storyblok/react/rsc";
import StoryblokBridgeLoader from "@storyblok/react/bridge-loader";

interface TestProps {
bridge?: boolean;
Expand Down
2 changes: 0 additions & 2 deletions lib/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ import { defineConfig } from "vite";
import path from "path";
import preserveDirectives from "rollup-plugin-preserve-directives";

const libName = "storyblok-react";

export default defineConfig({
plugins: [preserveDirectives()],
build: {
Expand Down
7 changes: 5 additions & 2 deletions playground-next13-rsc/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
import { storyblokInit, apiPlugin } from "@storyblok/react/rsc";
import StoryblokBridgeLoader from "@storyblok/react/bridge-loader";
import {
storyblokInit,
apiPlugin,
StoryblokBridgeLoader,
} from "@storyblok/react/rsc";

import Page from "../components/Page";
import Teaser from "../components/Teaser";
Expand Down

0 comments on commit f868fb6

Please sign in to comment.