refactor: move all buttons to tsx #338

This commit is contained in:
Prayag Prajapati committed 2024-11-24 23:46:20 +05:30
1 parent 9be02b6392
commit c6b5d6a4a2
13 files changed
+170 -170

No files matched your search

-10
View File
@@ -52,16 +52,6 @@ function UserLoginManual() {
api ? (await getBrandingApi(api).getBrandingOptions()).data : skipToken,
});
const ssoProviders = useQuery({
queryKey: ["login", "manual", "ssoProviders"],
queryFn: async () => {
if (!api?.accessToken) return;
return axios.get(
`${api.basePath}/sso/SAML/Get?api_key=${api.accessToken}`,
);
},
});
const navigate = useNavigate();
const { enqueueSnackbar } = useSnackbar();