♿ Attempt to disable translation to avoid app crashes
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
import { Html, Head, Main, NextScript } from 'next/document'
|
||||
|
||||
const Document = () => (
|
||||
<Html>
|
||||
<Html translate="no">
|
||||
<Head>
|
||||
<script src="/__env.js" />
|
||||
</Head>
|
||||
|
||||
Reference in New Issue
Block a user