diff --git a/app/panel/(layout)/user-account/page.js b/app/panel/(layout)/user-account/page.js
index 5335308..b4582b0 100644
--- a/app/panel/(layout)/user-account/page.js
+++ b/app/panel/(layout)/user-account/page.js
@@ -1,8 +1,9 @@
import UserAccountPage from "@/components/panel/userAccount";
import Information from "@/data/information.json";
+import Bank from "@/data/bank.json";
function UserAccount() {
- return ;
+ return ;
}
export default UserAccount;
diff --git a/components/panel/userAccount/bank/List.js b/components/panel/userAccount/bank/List.js
new file mode 100644
index 0000000..5f54b16
--- /dev/null
+++ b/components/panel/userAccount/bank/List.js
@@ -0,0 +1,9 @@
+import React from 'react'
+
+function List() {
+ return (
+
List
+ )
+}
+
+export default List
\ No newline at end of file
diff --git a/components/panel/userAccount/bank/index.js b/components/panel/userAccount/bank/index.js
index 2f2a1e4..70c69b9 100644
--- a/components/panel/userAccount/bank/index.js
+++ b/components/panel/userAccount/bank/index.js
@@ -1,9 +1,13 @@
import Head from "./head";
+import List from "./List";
+
+function Bank({ data }) {
+ console.log(data);
-function Bank() {
return (
+
);
}
diff --git a/components/panel/userAccount/index.js b/components/panel/userAccount/index.js
index fdea3fa..3cf9546 100644
--- a/components/panel/userAccount/index.js
+++ b/components/panel/userAccount/index.js
@@ -7,12 +7,12 @@ import Tab from "./Tab";
const listTab = ["حساب کاربری", "حساب بانکی"];
-function UserAccountPage() {
+function UserAccountPage({data}) {
const [value, setValue] = useState(1);
const handleChange = (event, newValue) => setValue(newValue);
- const components = [, ];
+ const components = [, ];
return (