mirror of https://github.com/boxyhq/jackson.git
Refactor security logs configuration components and types
This commit is contained in:
parent
5882bb8309
commit
4bc8d3d7b9
|
@ -1,11 +1,8 @@
|
|||
import { useTranslation } from 'next-i18next';
|
||||
import { successToast } from '@components/Toaster';
|
||||
import LicenseRequired from '@components/LicenseRequired';
|
||||
import { SecurityLogsConfigCreate } from 'internal-ui/src/security-logs-config';
|
||||
|
||||
const NewConfiguration = ({ hasValidLicense }: { hasValidLicense: boolean }) => {
|
||||
const { t } = useTranslation('common');
|
||||
|
||||
if (!hasValidLicense) {
|
||||
return <LicenseRequired />;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue