diff --git a/package.json b/package.json index b1b9765b33..cefca37e89 100644 --- a/package.json +++ b/package.json @@ -135,6 +135,7 @@ "puppeteer": "^21.0.3", "stream-browserify": "^3.0.0", "swc-loader": "^0.2.3", + "tailwindcss-3d": "^1.0.0", "terser-webpack-plugin": "^5.3.9", "tsconfig-paths-webpack-plugin": "^4.1.0", "typescript": "^5.2.2", diff --git a/scripts/check-changed-translations.js b/scripts/check-changed-translations.js index afa6f26622..8607a0827b 100644 --- a/scripts/check-changed-translations.js +++ b/scripts/check-changed-translations.js @@ -18,7 +18,7 @@ function compareObjects(obj1, obj2, parentPath = "") { obj2[key], parentPath ? `${parentPath}.${key}` : key ); - } else if (obj1[key] !== obj2[key]) { + } else if (obj1[key] !== obj2[key] && obj2[key] !== undefined) { const title = `Translation source ${parentPath}.${key} has changed`; const message = `Consider running \`node scripts/remove-outdated-translations.js ${parentPath}.${key}\` to reset existing translations.`; console.log( diff --git a/src/app/components/Avatar/index.tsx b/src/app/components/Avatar/index.tsx index a53718a533..169c28789f 100644 --- a/src/app/components/Avatar/index.tsx +++ b/src/app/components/Avatar/index.tsx @@ -1,10 +1,12 @@ import { useEffect, useRef } from "react"; import { generateSvgGAvatar } from "~/app/components/Avatar/generator"; +import { classNames } from "~/app/utils"; type Props = { name: string; size: number; url?: string; + className?: string; }; const Avatar = (props: Props) => { @@ -20,6 +22,7 @@ const Avatar = (props: Props) => { const AvatarImage = (props: Props) => { return (
{tCommon("enable.allow")}
{tCommon("enable.request1")}
{t("request2")}
{t("allow")}
{t("export.scan_qr")}
{t("success")}