diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml new file mode 100644 index 00000000..3e22f4b7 --- /dev/null +++ b/.idea/codeStyles/Project.xml @@ -0,0 +1,57 @@ + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/.idea/codeStyles/codeStyleConfig.xml b/.idea/codeStyles/codeStyleConfig.xml new file mode 100644 index 00000000..79ee123c --- /dev/null +++ b/.idea/codeStyles/codeStyleConfig.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/.prettierrc b/.prettierrc new file mode 100644 index 00000000..e53576e2 --- /dev/null +++ b/.prettierrc @@ -0,0 +1,6 @@ +{ + "plugins": [ + "@trivago/prettier-plugin-sort-imports", + "prettier-plugin-tailwindcss" + ] +} diff --git a/prettier.config.cjs b/prettier.config.cjs deleted file mode 100644 index ad939877..00000000 --- a/prettier.config.cjs +++ /dev/null @@ -1,6 +0,0 @@ -module.exports = { - plugins: [ - "prettier-plugin-tailwindcss", - "@trivago/prettier-plugin-sort-imports", - ], -}; diff --git a/src/ErrorBoundary.tsx b/src/ErrorBoundary.tsx index 9b923d7f..2faf68b6 100644 --- a/src/ErrorBoundary.tsx +++ b/src/ErrorBoundary.tsx @@ -31,7 +31,7 @@ class ErrorBoundary extends Component, State> { if (this.state.hasError) { const { t } = this.props; return ( -
+

{t("login.error")} 😓

diff --git a/src/components/AmountInput.tsx b/src/components/AmountInput.tsx index 682e6c48..a72701a1 100644 --- a/src/components/AmountInput.tsx +++ b/src/components/AmountInput.tsx @@ -76,7 +76,7 @@ const AmountInput: FC = ({ disabled={disabled} /> {unit} @@ -85,9 +85,7 @@ const AmountInput: FC = ({

{errorMessage?.message || "error"}

diff --git a/src/components/AppStatusItem.tsx b/src/components/AppStatusItem.tsx index 4057486b..15b507ca 100644 --- a/src/components/AppStatusItem.tsx +++ b/src/components/AppStatusItem.tsx @@ -19,7 +19,7 @@ export const AppStatusItem: FC = ({ app }) => { return ( navigate(`/apps/${id}`)} - className="flex w-full cursor-pointer items-center justify-center py-4 opacity-80 text-white hover:text-yellow-500 md:flex-col lg:flex-row" + className="flex w-full cursor-pointer items-center justify-center py-4 text-white opacity-80 hover:text-yellow-500 md:flex-col lg:flex-row" > {/* Icon */} @@ -34,7 +34,7 @@ export const AppStatusItem: FC = ({ app }) => { href={getHrefFromApp(app)} target={"_blank"} rel={"noopener noreferrer"} - className="flex w-full cursor-pointer items-center justify-center py-4 opacity-80 text-white hover:text-yellow-500 md:flex-col lg:flex-row" + className="flex w-full cursor-pointer items-center justify-center py-4 text-white opacity-80 hover:text-yellow-500 md:flex-col lg:flex-row" > {/* Icon */} diff --git a/src/components/CapsLockWarning.tsx b/src/components/CapsLockWarning.tsx index 0f4c0814..c0719ebb 100644 --- a/src/components/CapsLockWarning.tsx +++ b/src/components/CapsLockWarning.tsx @@ -6,7 +6,7 @@ const CapsLockWarning = () => { const { t } = useTranslation(); return ( - +   {t("login.caps_lock")} diff --git a/src/components/InputField.tsx b/src/components/InputField.tsx index cd35e197..5e566bb9 100644 --- a/src/components/InputField.tsx +++ b/src/components/InputField.tsx @@ -30,11 +30,7 @@ const InputField = forwardRef(

{errorMessage?.message || "error"}

diff --git a/src/layouts/BottomNav.tsx b/src/layouts/BottomNav.tsx index e915a26c..e6091ca3 100644 --- a/src/layouts/BottomNav.tsx +++ b/src/layouts/BottomNav.tsx @@ -18,7 +18,7 @@ const BottomNav: FC = () => { const { t } = useTranslation(); return ( -