create-web-kit 25.728.2252 → 25.728.2310
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,7 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
|
|
3
|
-
import Link from "next/link";
|
|
2
|
+
|
|
4
3
|
import { Button } from "@/components/ui/button";
|
|
4
|
+
import { AnimationGeneratorType, motion } from "motion/react";
|
|
5
|
+
import Link from "next/link";
|
|
5
6
|
|
|
6
7
|
export default function ErrorPage({
|
|
7
8
|
error,
|
|
@@ -10,7 +11,11 @@ export default function ErrorPage({
|
|
|
10
11
|
error: Error;
|
|
11
12
|
reset: () => void;
|
|
12
13
|
}) {
|
|
13
|
-
const springConfig = {
|
|
14
|
+
const springConfig = {
|
|
15
|
+
type: "spring" as AnimationGeneratorType,
|
|
16
|
+
damping: 10,
|
|
17
|
+
stiffness: 100,
|
|
18
|
+
};
|
|
14
19
|
|
|
15
20
|
return (
|
|
16
21
|
<div className="flex flex-col items-center justify-center min-h-screen bg-gray-50 px-4">
|
package/package.json
CHANGED