2
0

build: add pnpm

This commit is contained in:
Baptiste Arnaud
2022-08-08 08:21:36 +02:00
parent 8c3b5058f1
commit ee338f62dc
183 changed files with 19442 additions and 18364 deletions

View File

@ -1,5 +1,5 @@
import React from 'react'
import { env, isEmpty } from 'utils'
import { getViewerUrl, isEmpty } from 'utils'
export const ErrorPage = ({ error }: { error: Error }) => {
return (
@ -12,7 +12,7 @@ export const ErrorPage = ({ error }: { error: Error }) => {
flexDirection: 'column',
}}
>
{isEmpty(env('VIEWER_URL')) ? (
{isEmpty(getViewerUrl()) ? (
<>
<h1 style={{ fontWeight: 'bold', fontSize: '30px' }}>
NEXT_PUBLIC_VIEWER_URL is missing