Fix linter and remove console logs
This commit is contained in:
@ -3,7 +3,6 @@ import { useNavigate } from 'react-router-dom';
|
||||
|
||||
import { useObjectMetadataItemForSettings } from '@/object-metadata/hooks/useObjectMetadataItemForSettings';
|
||||
import { getObjectSlug } from '@/object-metadata/utils/getObjectSlug';
|
||||
import { useCreateOneObjectRecord } from '@/object-record/hooks/useCreateOneObjectRecord';
|
||||
import { SaveAndCancelButtons } from '@/settings/components/SaveAndCancelButtons/SaveAndCancelButtons';
|
||||
import { SettingsHeaderContainer } from '@/settings/components/SettingsHeaderContainer';
|
||||
import { SettingsPageContainer } from '@/settings/components/SettingsPageContainer';
|
||||
@ -31,10 +30,6 @@ export const SettingsNewObject = () => {
|
||||
disabledObjectMetadataItems: disabledObjects,
|
||||
} = useObjectMetadataItemForSettings();
|
||||
|
||||
const { createOneObject: createOneView } = useCreateOneObjectRecord({
|
||||
objectNameSingular: 'view',
|
||||
});
|
||||
|
||||
const [
|
||||
selectedStandardObjectMetadataIds,
|
||||
setSelectedStandardObjectMetadataIds,
|
||||
|
||||
@ -47,9 +47,11 @@ export const SettingsDevelopersApiKeys = () => {
|
||||
const { registerOptimisticEffect } = useOptimisticEffect({
|
||||
objectNameSingular: 'apiKey',
|
||||
});
|
||||
const { objectMetadataItem: foundObjectMetadataItem } = useObjectMetadataItem({
|
||||
objectNameSingular: 'apiKey',
|
||||
});
|
||||
const { objectMetadataItem: foundObjectMetadataItem } = useObjectMetadataItem(
|
||||
{
|
||||
objectNameSingular: 'apiKey',
|
||||
},
|
||||
);
|
||||
const filter = { revokedAt: { is: 'NULL' } };
|
||||
useFindManyObjectRecords({
|
||||
objectNamePlural: 'apiKeys',
|
||||
|
||||
Reference in New Issue
Block a user