import{l as e,t,u as n}from"./vendor-react-CAGJwf-T.js";import{t as r}from"./arrow-left-C4s0_GjY.js";import{t as i}from"./LoanApprovalDetail-BIgayhvk.js";import{o as a}from"./index-Z_bdWDpJ.js";var o=t();function s(){let{id:t}=n(),s=e();return t?(0,o.jsx)(a,{module:`loan_applications`,children:(0,o.jsxs)(`div`,{children:[(0,o.jsxs)(`button`,{onClick:()=>s(`/admin/loan-approvals`),className:`flex items-center gap-1.5 text-[12px] text-[var(--color-text-muted)] hover:text-[var(--color-text-secondary)] mb-4 transition-colors`,children:[(0,o.jsx)(r,{className:`w-3.5 h-3.5`}),`Back to Approvals`]}),(0,o.jsx)(i,{id:t})]})}):null}export{s as default};