mirror of
https://github.com/umami-software/umami.git
synced 2026-02-12 08:37:13 +01:00
Refactored exports.
This commit is contained in:
parent
1baf4d5571
commit
8bddc666b4
110 changed files with 317 additions and 124 deletions
|
|
@ -3,7 +3,7 @@ import useApi from 'hooks/useApi';
|
|||
import WebsitesTable from 'components/pages/settings/websites/WebsitesTable';
|
||||
import useMessages from 'hooks/useMessages';
|
||||
|
||||
export default function UserWebsites({ userId }) {
|
||||
export function UserWebsites({ userId }) {
|
||||
const { formatMessage, messages } = useMessages();
|
||||
const { get, useQuery } = useApi();
|
||||
const { data, isLoading } = useQuery(['user:websites', userId], () =>
|
||||
|
|
@ -22,3 +22,5 @@ export default function UserWebsites({ userId }) {
|
|||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export default UserWebsites;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue