💄 Add custom auth error page (#903)

This commit is contained in:
Luke Vella 2023-10-19 16:11:33 +01:00 committed by GitHub
parent 6fa66da681
commit eaa8f5813d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 45 additions and 16 deletions

View file

@ -1,7 +1,7 @@
const typescriptTransform = require("i18next-scanner-typescript");
module.exports = {
input: ["src/**/*.{ts,tsx}"],
input: ["src/**/*.{ts,tsx}", "!src/utils/auth.ts"],
options: {
keySeparator: ".",
nsSeparator: false,
@ -13,10 +13,6 @@ module.exports = {
removeUnusedKeys: true,
func: {
list: ["t"],
extensions: [".js", ".jsx"],
},
trans: {
extensions: [".js", ".jsx"],
},
resource: {
loadPath: "public/locales/{{lng}}/{{ns}}.json",