@equinor/amplify-component-lib 9.7.1 → 9.7.2

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.
@@ -1 +1 @@
1
- import{jsxs as t,jsx as e}from"react/jsx-runtime";import{useNavigate as o}from"react-router";import{Status as r}from"../index.js";const i=()=>{const i=o();return t(r,{children:[e(r.Title,{title:"Page not found"}),e(r.Description,{text:"It looks like the page you're looking for has gone missing.\n Please check the URL and try again."}),e(r.Action,{onClick:()=>{i(-1)}})]})};export{i as PageNotFound};
1
+ import{jsxs as e,jsx as t}from"react/jsx-runtime";import{useNavigate as o}from"react-router";import{Status as r}from"../index.js";const n=()=>{const n=o();return e(r,{center:!1,children:[t(r.Title,{title:"Page not found"}),t(r.Description,{text:"It looks like the page you're looking for has gone missing.\n Please check the URL and try again."}),t(r.Action,{onClick:()=>{n(-1)}})]})};export{n as PageNotFound};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@equinor/amplify-component-lib",
3
- "version": "9.7.1",
3
+ "version": "9.7.2",
4
4
  "description": "Frontend Typescript components for the Amplify team",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",