mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 23:27:12 +01:00
Refactored exports.
This commit is contained in:
parent
1baf4d5571
commit
8bddc666b4
110 changed files with 317 additions and 124 deletions
|
|
@ -2,7 +2,7 @@ import { TextArea } from 'react-basics';
|
|||
import useMessages from 'hooks/useMessages';
|
||||
import useConfig from 'hooks/useConfig';
|
||||
|
||||
export default function TrackingCode({ websiteId }) {
|
||||
export function TrackingCode({ websiteId }) {
|
||||
const { formatMessage, messages } = useMessages();
|
||||
const { trackerScriptName } = useConfig();
|
||||
const url = trackerScriptName.startsWith('http')
|
||||
|
|
@ -18,3 +18,5 @@ export default function TrackingCode({ websiteId }) {
|
|||
</>
|
||||
);
|
||||
}
|
||||
|
||||
export default TrackingCode;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue