Skip to content

Commit d576e2a

Browse files
committed
refactor(rsc): remove unused export from index.ts
1 parent b6c4f17 commit d576e2a

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

nx.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@
1414
"lint": {
1515
"dependsOn": ["^build"],
1616
"cache": true
17+
},
18+
"dev": {
19+
"dependsOn": ["^build"],
20+
"cache": false
1721
}
1822
},
1923
"tui": {
@@ -23,7 +27,13 @@
2327
"projectsRelationship": "independent",
2428
"groups": {
2529
"core-js": {
26-
"projects": ["storyblok-js-client", "js", "richtext", "storyblok", "eslint-config"],
30+
"projects": [
31+
"storyblok-js-client",
32+
"js",
33+
"richtext",
34+
"storyblok",
35+
"eslint-config"
36+
],
2737
"projectsRelationship": "independent"
2838
},
2939
"sdk": {

packages/react/src/rsc/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
export * from './common';
2-
export { liveEditUpdateAction } from './live-edit-update-action';
32
export { default as StoryblokLiveEditing } from './live-editing';
43
export { useStoryblokServerRichText } from './richtext';
54
export { default as StoryblokServerRichText } from './server-storyblok-richtext-component';

packages/react/src/rsc/live-edit-update-action.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
'use server';
12
import type { ISbStoryData } from '@storyblok/js';
23

34
export async function liveEditUpdateAction({ story, pathToRevalidate }: { story: ISbStoryData; pathToRevalidate: string }) {

0 commit comments

Comments
 (0)