Skip to content

Commit

Permalink
fix: updated plugin name to match scoped package
Browse files Browse the repository at this point in the history
  • Loading branch information
jjburbridge committed Nov 26, 2024
1 parent b5dc4e9 commit d0eb0cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ For more control over the value field, you can pass a schema definition into the

```ts
import {defineConfig} from 'sanity'
import {fieldLevelExperiments} from 'sanity-plugin-personalisation'
import {fieldLevelExperiments} from '@sanity/personalisation-plugin'

export default defineConfig({
//...
Expand Down
2 changes: 1 addition & 1 deletion src/fieldExperiments.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ export const fieldLevelExperiments = definePlugin<FieldPluginConfig>((config) =>
const {fields, experiments} = pluginConfig
const fieldSchemaConfig = fieldSchema({fields, experiments})
return {
name: 'sanity-plugin-field-level-experiments',
name: 'sanity-personalistaion-plugin-field-level-experiments',
schema: {
types: fieldSchemaConfig,
},
Expand Down

0 comments on commit d0eb0cc

Please sign in to comment.