From ad367284113d65dee3336b67936713e853702363 Mon Sep 17 00:00:00 2001 From: Amirhossein Mahmoodi Date: Tue, 9 Jul 2024 14:11:38 +0330 Subject: [PATCH] formatted --- src/app/(withAuth)/dashboard/page.js | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) diff --git a/src/app/(withAuth)/dashboard/page.js b/src/app/(withAuth)/dashboard/page.js index c06d81d..a7efa2a 100644 --- a/src/app/(withAuth)/dashboard/page.js +++ b/src/app/(withAuth)/dashboard/page.js @@ -1,31 +1,9 @@ "use client"; -import { Button } from "@mui/material"; -import axios from "axios"; const Page = () => { - const handler = () => { - try { - axios.get("https://rms.witel.ir/test_login?username=witel", { - withCredentials: true, - }); - } catch (error) { - console.log(error); - } - }; - const handler2 = () => { - try { - const res = axios.get("https://rms.witel.ir/webapi/user/get-permission", { - withCredentials: true, - }); - console.log(res); - } catch (error) { - console.log(error); - } - }; + return ( <> - - ); };