@schandlergarcia/sf-web-components 1.2.1 → 1.2.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.
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useNavigate } from "react-router";
|
|
2
|
-
import {
|
|
2
|
+
import { UIButton } from '@schandlergarcia/sf-web-components';
|
|
3
3
|
|
|
4
4
|
export default function NotFound() {
|
|
5
5
|
const navigate = useNavigate();
|
|
@@ -12,7 +12,7 @@ export default function NotFound() {
|
|
|
12
12
|
<p className="text-lg text-slate-600 dark:text-slate-400 mb-8">
|
|
13
13
|
The page you're looking for doesn't exist.
|
|
14
14
|
</p>
|
|
15
|
-
<
|
|
15
|
+
<UIButton onClick={() => navigate("/")}>Go Home</UIButton>
|
|
16
16
|
</div>
|
|
17
17
|
</div>
|
|
18
18
|
);
|