diff --git a/.env b/.env index 53acdda..a20f615 100644 --- a/.env +++ b/.env @@ -1,4 +1,4 @@ VITE_TOKEN_NAME = 'admin_token' VITE_REFRESH_TOKEN_NAME = 'admin_refresh_token' # VITE_BASE_URL = 'https://api.danakcorp.com' -VITE_BASE_URL = 'http://172.27.254.88:3500' \ No newline at end of file +VITE_BASE_URL = 'http://192.168.99.181:3500' \ No newline at end of file diff --git a/src/pages/dmail/Domains.tsx b/src/pages/dmail/Domains.tsx index 85ad0a3..4699ce7 100644 --- a/src/pages/dmail/Domains.tsx +++ b/src/pages/dmail/Domains.tsx @@ -1,6 +1,13 @@ import { type FC } from 'react' +import { useGetDomains } from './hooks/useDmailData' const Domains: FC = () => { + + const { data } = useGetDomains() + + console.log('data', data); + + return (