@star-insure/sdk 3.2.4 → 3.2.5

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.
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@star-insure/sdk",
3
3
  "description": "The SDK for Star Insure client apps with shared helper functions and TypeScript definitions.",
4
4
  "author": "alexclark_nz",
5
- "version": "3.2.4",
5
+ "version": "3.2.5",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
@@ -8,7 +8,7 @@ export default function Action({ title, href, as = 'Link', target = '_self', typ
8
8
 
9
9
  if (as === 'Link' && href) {
10
10
  return (
11
- <Link className={className} href={href}>
11
+ <Link className={className} href={href} onClick={() => onClick()}>
12
12
  {title}
13
13
  </Link>
14
14
  );
@@ -16,7 +16,7 @@ export default function Action({ title, href, as = 'Link', target = '_self', typ
16
16
 
17
17
  if (as === 'a' && href) {
18
18
  return (
19
- <a className={className} target={target} href={href}>
19
+ <a className={className} target={target} href={href} onClick={() => onClick()}>
20
20
  {title}
21
21
  </a>
22
22
  );