Skip to content

Commit

Permalink
Update src/components/UsingFeatureWrapper.vue
Browse files Browse the repository at this point in the history
Co-authored-by: adams85 <[email protected]>
  • Loading branch information
codedbychavez and adams85 authored Jan 22, 2024
1 parent e91fabf commit c4cec94
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/UsingFeatureWrapper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ import type { IConfigCatClient } from 'configcat-vue'
// USING HOOKS: Inject the underlying ConfigCat client
const configCatClient = inject<IConfigCatClient>('configCatClient')
?? (() => { throw new Error("ConfigCatPlugin was not installed."); })()
// USING USER OBJECT: Create a ref that will be used as the user object
const user = new User('[email protected]')
Expand Down

0 comments on commit c4cec94

Please sign in to comment.