Skip to content

Commit b96dbf0

Browse files
committed
Correct the format of arguments passed to liff.shareTargetPicker
1 parent 6674c5f commit b96dbf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/App.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ function App() {
230230
pulldownOptions={SHARE_TARGET_PICKER_FIXED_ARGUMENT_LIST}
231231
skipAutoRun={true}
232232
runner={async (options) => {
233-
return await liff.shareTargetPicker(JSON.parse(options))
233+
return await liff.shareTargetPicker([JSON.parse(options)])
234234
}}
235235
loginRequired={true}
236236
/>

0 commit comments

Comments
 (0)