1
diff --git a/components/landing-page/navbar.tsx b/components/landing-page/navbar.tsx
index e129cb72..180f34ea 100644
--- a/components/landing-page/navbar.tsx
+++ b/components/landing-page/navbar.tsx
@@ -19,6 +19,8 @@ import { Button } from "@/components/ui/button";
import LocalSwitcher from "../partials/header/locale-switcher";
import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from "@/components/ui/dialog";
import { getUserNotifications, listRole } from "@/service/landing/landing";
+import { Tabs, TabsList, TabsTrigger } from "@/components/ui/tabs";
+import { Popover, PopoverContent, PopoverTrigger } from "../ui/popover";
type Detail = {
id: number;
@@ -56,6 +58,7 @@ const Navbar = () => {
const [notifications, setNotifications] = useState([]);
const [isMessageActive, setIsMessageActive] = useState(true);
const [notificationsUpdate, setNotificationsUpdate] = useState([]);
+ const [selectedTab, setSelectedTab] = useState("image");
let prefixPath = poldaName ? `/polda/${poldaName}` : satkerName ? `/satker/${satkerName}` : "/";
@@ -285,10 +288,10 @@ const Navbar = () => {
-
+ {/*
{t("live")}
-
+ */}
{/*
diff --git a/service/landing/landing.ts b/service/landing/landing.ts
index f051b69e..f2b68e33 100644
--- a/service/landing/landing.ts
+++ b/service/landing/landing.ts
@@ -1,3 +1,4 @@
+import { httpPost } from "../http-config/http-base-service";
import { httpDeleteInterceptor, httpGetInterceptor, httpPostInterceptor } from "../http-config/http-interceptor-service";
export async function getHeroData() {
@@ -120,7 +121,7 @@ export async function verifyOTP(email: any, otp: any) {
export async function requestOTP(data: any) {
const url = "public/users/otp-request";
- return httpPostInterceptor(url, data);
+ return httpPost(url, data);
}
export async function getUserNotifications(page = 0, typeId: any) {