Skip to content

Commit

Permalink
Change meta format
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanoverna committed Feb 17, 2021
1 parent e4c1522 commit 480d920
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 17 deletions.
26 changes: 13 additions & 13 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
},
"dependencies": {
"@znck/prop-types": "^0.6.3",
"datocms-structured-text-generic-html-renderer": "1.0.6",
"datocms-structured-text-generic-html-renderer": "^1.0.8",
"hyphenate-style-name": "^1.0.4"
},
"peerDependencies": {
Expand Down
4 changes: 1 addition & 3 deletions src/StructuredText/__tests__/index.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,7 @@ describe("StructuredText", () => {
{
type: "itemLink",
item: "123",
meta: {
openInNewWindow: true,
},
meta: [{ id: "openInNewWindow", value: true }],
children: [{ type: "span", value: "here!" }],
},
],
Expand Down

1 comment on commit 480d920

@vercel
Copy link

@vercel vercel bot commented on 480d920 Feb 17, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.