diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 0000000..ba3f236 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,10 @@ +{ + "singleQuote": false, + "endOfLine": "crlf", + "tabWidth": 2, + "useTabs": false, + "trailingComma": "none", + "plugins": [ + "prettier-plugin-tailwindcss" + ] +} diff --git a/src/components/HeaderButton.tsx b/src/components/HeaderButton.tsx index 8a8dd6c..72c0d83 100644 --- a/src/components/HeaderButton.tsx +++ b/src/components/HeaderButton.tsx @@ -1,22 +1,24 @@ import { useTranslation } from "react-i18next"; -import { Link } from 'preact-router'; +import { Link } from "preact-router"; interface HeaderButtonProps { - href: string; - Icon: any; - translationKey: string; + href: string; + Icon: any; + translationKey: string; } export function HeaderButton(props: HeaderButtonProps) { - const { href, Icon, translationKey } = props; - const { t } = useTranslation(); + const { href, Icon, translationKey } = props; + const { t } = useTranslation(); - return ( - -