Skip to content

Commit b121ed2

Browse files
authored
docs: Fix solid-js example (#1145)
1 parent 607e116 commit b121ed2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/guide/essentials/content-scripts.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,7 @@ export default defineContentScript({
239239
onMount: (container) => {
240240
// Render your app to the UI container
241241
const unmount = render(() => <div>...</div>, container);
242+
return unmount;
242243
},
243244
onRemove: (unmount) => {
244245
// Unmount the app when the UI is removed

0 commit comments

Comments
 (0)