import DashboardChangePasswordComponent from "@/components/dashboard/change-password";
import {parse} from "next-useragent";

export default function LoanFollowUp() {
    return (
        <DashboardChangePasswordComponent/>
    );
}

export async function getServerSideProps({req, locale}) {
    const {isBot} = parse(req.headers["user-agent"]);
    return {
        props: {
            messages: (await import(`&/locales/${locale}/app.json`)).default,
            title: "Dashboard.change_password",
            isBot,
            locale,
            layout: {name: 'DashboardLayout'}
        },
    };
}
