Skip to content

Commit 8823f9d

Browse files
committed
[Core] Rename API.
1 parent 11258f4 commit 8823f9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/session/core.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ function useLPSession<ValType>(
239239

240240
return {
241241
data: sessionStateValue,
242-
setData: (newValue?: any) => {
242+
setParam: (newValue?: any) => {
243243
setSessionExposedSetter(newValue);
244244
},
245245
isLoading: sessionIsLoading,

0 commit comments

Comments
 (0)