mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 07:07:17 +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 { Button, Icon, Icons, Tooltip } from 'react-basics';
|
|||
import Link from 'next/link';
|
||||
import useMessages from 'hooks/useMessages';
|
||||
|
||||
export default function LogoutButton({ tooltipPosition = 'top' }) {
|
||||
export function LogoutButton({ tooltipPosition = 'top' }) {
|
||||
const { formatMessage, labels } = useMessages();
|
||||
return (
|
||||
<Link href="/logout">
|
||||
|
|
@ -16,3 +16,5 @@ export default function LogoutButton({ tooltipPosition = 'top' }) {
|
|||
</Link>
|
||||
);
|
||||
}
|
||||
|
||||
export default LogoutButton;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue