gitfoss | 653abd1fae4fd7bf2b20d19f7b7564e5a26996db | app/controllers/auth/getLoginView.ts ∙ GitFOSS

k / gitfoss

Files

Forked Fromethicdevs / gitfoss
Fork0
~app/controllers/auth/getLoginView.ts
.ts
TypeScript
(application/typescript)
// 3rd-party
import type { ReqHandler } from "@ethicdevs/react-monolith";
// app
import LoginView, { LoginViewProps } from "../../views/auth/LoginView";

const getLoginView: ReqHandler = (request, reply) => {
  const reqHandler = reply.makeRequestHandler(request, reply);
  return reqHandler<LoginViewProps>(LoginView.name, {});
};

export default getLoginView;