mirror of
https://github.com/umami-software/umami.git
synced 2026-02-06 21:57:16 +01:00
Upgrade prisma. Lint fixes.
This commit is contained in:
parent
a3b5f05a32
commit
a224a3caf3
11 changed files with 56 additions and 51 deletions
|
|
@ -7,7 +7,7 @@ export function ErrorMessage() {
|
|||
|
||||
return (
|
||||
<div className={styles.error}>
|
||||
<Icon className={styles.icon} size="large">
|
||||
<Icon className={styles.icon} size="lg">
|
||||
<Icons.Alert />
|
||||
</Icon>
|
||||
<Text>{formatMessage(messages.error)}</Text>
|
||||
|
|
|
|||
|
|
@ -10,9 +10,9 @@ import styles from './FilterLink.module.css';
|
|||
export interface FilterLinkProps {
|
||||
id: string;
|
||||
value: string;
|
||||
label: string;
|
||||
externalUrl: string;
|
||||
className: string;
|
||||
label?: string;
|
||||
externalUrl?: string;
|
||||
className?: string;
|
||||
children: ReactNode;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
import { Button, Icon } from 'react-basics';
|
||||
import { Button, Icon, Icons } from 'react-basics';
|
||||
import { useState } from 'react';
|
||||
import MobileMenu from './MobileMenu';
|
||||
import Icons from 'components/icons';
|
||||
|
||||
export function HamburgerButton({ menuItems }: { menuItems: any[] }) {
|
||||
const [active, setActive] = useState(false);
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ import User from 'assets/user.svg';
|
|||
import Users from 'assets/users.svg';
|
||||
import Visitor from 'assets/visitor.svg';
|
||||
|
||||
const icons: any = {
|
||||
const icons = {
|
||||
...Icons,
|
||||
AddUser,
|
||||
Bars,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue