@symbo.ls/link 2.10.233 → 2.10.237

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +2 -1
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -27,9 +27,10 @@ export const Link = {
27
27
  export const RouterLink = {
28
28
  on: {
29
29
  click: (event, el, s, ctx) => {
30
+ const { props } = el
30
31
  const { router } = ctx.utils
31
32
  const root = el.__ref.__root
32
- const { href } = el.props
33
+ const { href } = props
33
34
  const firstThree = href[0] + href[1] + href[2]
34
35
  const routerOptions = props.routerOptions || {
35
36
  scrollToOptions: { behaviour: 'instant' }
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@symbo.ls/link",
3
- "version": "2.10.233",
3
+ "version": "2.10.237",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
- "gitHead": "0404ac8cac5db7830eb97b0c777ffdf80910f85e",
6
+ "gitHead": "2ed0c458c5f870429e22309ea5e2c0402961e407",
7
7
  "dependencies": {
8
8
  "@domql/router": "latest",
9
9
  "@symbo.ls/atoms": "latest"