Skip to content

Commit

Permalink
Fix API typo in hello-world-svelte sample (microsoft#132)
Browse files Browse the repository at this point in the history
Description of changes

I tried with the original code `allComponents.register()` but they were not registered. `allComponents` seems to work as intended.
  • Loading branch information
KaruroChori authored Apr 4, 2023
1 parent 65b37c0 commit 7dfe1c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frameworks/hello-world-svelte/webview-ui/src/App.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
// Finally, if you would like to register all of the toolkit
// components at once, there's a handy convenience function:
//
// provideVSCodeDesignSystem().register(allComponents.register());
// provideVSCodeDesignSystem().register(allComponents);
function handleHowdyClick() {
vscode.postMessage({
Expand All @@ -46,4 +46,4 @@
main > * {
margin: 1rem 0;
}
</style>
</style>

0 comments on commit 7dfe1c2

Please sign in to comment.