import { useState } from "react";
import Footer from "./Footer";
import Navbar from "./Navbar";
import profilepic from "../img/samplepic.jpg";
import Addproperty from "./Addproperty";
import UserProperties from "./UserProperties";
import "../dashboard.css";
import { useSelector } from "react-redux";
import UserProfile from "./UserProfile";
import { NavLink } from "react-router-dom";
const Dashboard = () => {
const [activeTab, setActiveTab] = useState("dashboard");
const { user } = useSelector((state) => state.auth);
const renderTabContent = () => {
switch (activeTab) {
case "Userdetails":
return
These are your closed properties.
; default: return <>>; } }; return ( <>