import { useUser } from "../../../utilities/auth/useUser.mjs";
import { useTenant } from "../../../utilities/tenant/useTenant.mjs";
import { c } from "react-compiler-runtime";
import React from "react";
import { UdpFormsList } from "udp-react-stencil-component-library";
import { useHistory } from "react-router-dom";
//#region src/udp/pages/UdpFormsListPage/UdpFormsListPage.jsx
const UdpFormsListPage = (props) => {
	const $ = c(3);
	useUser();
	const tenant = useTenant();
	const history = useHistory();
	tenant?.activeTenant?.tenantId;
	let t0;
	if ($[0] !== history || $[1] !== props) {
		t0 = /* @__PURE__ */ React.createElement("div", null, /* @__PURE__ */ React.createElement(UdpFormsList, {
			history,
			...props
		}));
		$[0] = history;
		$[1] = props;
		$[2] = t0;
	} else t0 = $[2];
	return t0;
};
//#endregion
export { UdpFormsListPage as default };

//# sourceMappingURL=UdpFormsListPage.mjs.map