diff --git a/package-lock.json b/package-lock.json
index a558b01..f33356b 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -18,7 +18,8 @@
"cosmjs-types": "^0.9.0",
"next": "14.1.0",
"react": "^18.2.0",
- "react-dom": "^18.2.0"
+ "react-dom": "^18.2.0",
+ "react-toastify": "^10.0.4"
},
"devDependencies": {
"@stylistic/eslint-plugin": "^1.6.2",
@@ -4146,6 +4147,14 @@
"node": ">=8"
}
},
+ "node_modules/clsx": {
+ "version": "2.1.0",
+ "resolved": "https://registry.npmjs.org/clsx/-/clsx-2.1.0.tgz",
+ "integrity": "sha512-m3iNNWpd9rl3jvvcBnu70ylMdrXt8Vlq4HYadnU5fwcOtvkSQWPmj7amUcDT2qYI7risszBjI5AUIUox9D16pg==",
+ "engines": {
+ "node": ">=6"
+ }
+ },
"node_modules/cluster-key-slot": {
"version": "1.1.2",
"resolved": "https://registry.npmjs.org/cluster-key-slot/-/cluster-key-slot-1.1.2.tgz",
@@ -8447,6 +8456,18 @@
}
}
},
+ "node_modules/react-toastify": {
+ "version": "10.0.4",
+ "resolved": "https://registry.npmjs.org/react-toastify/-/react-toastify-10.0.4.tgz",
+ "integrity": "sha512-etR3RgueY8pe88SA67wLm8rJmL1h+CLqUGHuAoNsseW35oTGJEri6eBTyaXnFKNQ80v/eO10hBYLgz036XRGgA==",
+ "dependencies": {
+ "clsx": "^2.1.0"
+ },
+ "peerDependencies": {
+ "react": ">=16",
+ "react-dom": ">=16"
+ }
+ },
"node_modules/read-cache": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz",
diff --git a/package.json b/package.json
index 717c46a..298d088 100644
--- a/package.json
+++ b/package.json
@@ -23,7 +23,8 @@
"cosmjs-types": "^0.9.0",
"next": "14.1.0",
"react": "^18.2.0",
- "react-dom": "^18.2.0"
+ "react-dom": "^18.2.0",
+ "react-toastify": "^10.0.4"
},
"devDependencies": {
"@stylistic/eslint-plugin": "^1.6.2",
diff --git a/src/app/layout.tsx b/src/app/layout.tsx
index 74e2026..2b16ebc 100644
--- a/src/app/layout.tsx
+++ b/src/app/layout.tsx
@@ -4,6 +4,8 @@ import { AbstraxionProvider } from "@burnt-labs/abstraxion";
import "@burnt-labs/abstraxion/dist/index.css";
import "@burnt-labs/ui/dist/index.css";
import { Inter } from "next/font/google";
+import { ToastContainer } from "react-toastify";
+import "react-toastify/dist/ReactToastify.css";
import { StakingProvider } from "@/features/staking/context/provider";
import {
@@ -33,6 +35,7 @@ export default function RootLayout({
{children}
+