removed unnecessary log in webhooks

This commit is contained in:
ronronscelestes 2021-11-16 17:28:19 +01:00
parent dce096bbb2
commit 097e56672b
2 changed files with 11 additions and 12 deletions

View File

@ -53,7 +53,6 @@ const ListView = () => {
reducer,
initialState
);
console.log(webhooks);
const { notifyStatus } = useNotifyAT();
useFocusWhenNavigate();

View File

@ -1,6 +1,6 @@
import React from 'react';
import PropTypes from 'prop-types';
import { TableLabel, Text } from '@strapi/design-system/Text';
import { Typography } from '@strapi/design-system/Typography';
import { IconButton } from '@strapi/design-system/IconButton';
import { Stack } from '@strapi/design-system/Stack';
import { VisuallyHidden } from '@strapi/design-system/VisuallyHidden';
@ -20,19 +20,19 @@ const LocaleTable = ({ locales, onDeleteLocale, onEditLocale }) => {
<Thead>
<Tr>
<Th>
<TableLabel textColor="neutral600">
<Typography variant="sigma" textColor="neutral600">
{formatMessage({ id: getTrad('Settings.locales.row.id') })}
</TableLabel>
</Typography>
</Th>
<Th>
<TableLabel textColor="neutral600">
<Typography variant="sigma" textColor="neutral600">
{formatMessage({ id: getTrad('Settings.locales.row.displayName') })}
</TableLabel>
</Typography>
</Th>
<Th>
<TableLabel textColor="neutral600">
<Typography variant="sigma" textColor="neutral600">
{formatMessage({ id: getTrad('Settings.locales.row.default-locale') })}
</TableLabel>
</Typography>
</Th>
<Th>
<VisuallyHidden>Actions</VisuallyHidden>
@ -49,17 +49,17 @@ const LocaleTable = ({ locales, onDeleteLocale, onEditLocale }) => {
})}
>
<Td>
<Text textColor="neutral800">{locale.id}</Text>
<Typography textColor="neutral800">{locale.id}</Typography>
</Td>
<Td>
<Text textColor="neutral800">{locale.name}</Text>
<Typography textColor="neutral800">{locale.name}</Typography>
</Td>
<Td>
<Text textColor="neutral800">
<Typography textColor="neutral800">
{locale.isDefault
? formatMessage({ id: getTrad('Settings.locales.row.default-locale') })
: null}
</Text>
</Typography>
</Td>
<Td>
<Stack