Skip to content
This repository has been archived by the owner on Nov 9, 2024. It is now read-only.

Commit

Permalink
Fix link and wording in target prop warning
Browse files Browse the repository at this point in the history
  • Loading branch information
atomiks committed Oct 14, 2019
1 parent eca39ab commit b358552
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/validation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ export function validateProps(
warnWhen(
prop === 'target',
`The \`target\` prop was removed in v5 and replaced with the delegate()
method in order to conserve bundle size.
addon in order to conserve bundle size.
Read more: https//atomiks.github.io/tippyjs/addons#event-delegation`,
See: https://atomiks.github.io/tippyjs/addons/#event-delegation`,
);

warnWhen(
Expand Down
4 changes: 2 additions & 2 deletions test/unit/validation.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ describe('validateProps', () => {
expect(spy).toHaveBeenCalledWith(
...getFormattedMessage(
`The \`target\` prop was removed in v5 and replaced with the delegate()
method in order to conserve bundle size.
addon in order to conserve bundle size.
Read more: https//atomiks.github.io/tippyjs/addons#event-delegation`,
See: https://atomiks.github.io/tippyjs/addons/#event-delegation`,
),
);
});
Expand Down

0 comments on commit b358552

Please sign in to comment.