mirror of
https://github.com/umami-software/umami.git
synced 2026-02-15 10:05:36 +01:00
Code cleanup.
This commit is contained in:
parent
21cdb06571
commit
7d5a24044a
10 changed files with 34 additions and 43 deletions
|
|
@ -1,7 +1,7 @@
|
|||
import EmptyPlaceholder from 'components/common/EmptyPlaceholder';
|
||||
import Link from 'next/link';
|
||||
import { Button, Text, Icon, Icons } from 'react-basics';
|
||||
import SettingsTable from 'components/common/SettingsTable';
|
||||
import Empty from 'components/common/Empty';
|
||||
import useMessages from 'hooks/useMessages';
|
||||
import useConfig from 'hooks/useConfig';
|
||||
import useUser from 'hooks/useUser';
|
||||
|
|
@ -15,7 +15,7 @@ export function WebsitesTable({
|
|||
showTeam,
|
||||
showEditButton,
|
||||
}) {
|
||||
const { formatMessage, labels, messages } = useMessages();
|
||||
const { formatMessage, labels } = useMessages();
|
||||
const { openExternal } = useConfig();
|
||||
const { user } = useUser();
|
||||
|
||||
|
|
@ -82,7 +82,7 @@ export function WebsitesTable({
|
|||
}}
|
||||
</SettingsTable>
|
||||
)}
|
||||
{!showTable && <EmptyPlaceholder message={formatMessage(messages.noDataAvailable)} />}
|
||||
{!showTable && <Empty />}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue