2
0

Attempt to disable translation to avoid app crashes

This commit is contained in:
Baptiste Arnaud
2023-03-22 08:03:31 +01:00
parent 9147c8cd14
commit 1cf2195b4a
3 changed files with 4 additions and 4 deletions

View File

@@ -3,7 +3,7 @@ import { ColorModeScript } from '@chakra-ui/react'
import { Html, Head, Main, NextScript } from 'next/document'
const Document = () => (
<Html>
<Html translate="no">
<Head>
<link rel="icon" type="image/png" href="/favicon.png" />
<link

View File

@@ -124,7 +124,7 @@ const checkIfStorageLimitReached = async (
): Promise<boolean> => {
const typebot = await prisma.typebot.findUnique({
where: { id: typebotId },
include: {
select: {
workspace: {
select: {
id: true,
@@ -146,7 +146,7 @@ const checkIfStorageLimitReached = async (
storageUsed: { gt: 0 },
result: {
typebot: {
workspaceId: typebot.workspaceId,
workspaceId: typebot.workspace.id,
},
},
},

View File

@@ -2,7 +2,7 @@
import { Html, Head, Main, NextScript } from 'next/document'
const Document = () => (
<Html>
<Html translate="no">
<Head>
<script src="/__env.js" />
</Head>