unresponsible page fix (#306)

Co-authored-by: Igor Lobanov <igor.lobanov@onetwotrip.com>
This commit is contained in:
Ilya Y 2023-11-09 19:58:31 +03:00 committed by GitHub
parent 5d5f4ccfdf
commit d1ce122e8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 714 additions and 16032 deletions

16740
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -56,7 +56,7 @@
"@solid-primitives/share": "2.0.4",
"@solid-primitives/storage": "1.3.9",
"@solid-primitives/upload": "0.0.110",
"@solidjs/meta": "0.29.1",
"@solidjs/meta": "0.28.2",
"@thisbeyond/solid-select": "0.14.0",
"@tiptap/core": "2.0.3",
"@tiptap/extension-blockquote": "2.0.3",

View File

@ -12,6 +12,8 @@ import ICU from 'i18next-icu'
export const passToClient = ['pageProps', 'lng', 'documentProps', 'is404']
const metaTags = []
const getLng = (pageContext: PageContext): Language => {
const { urlParsed, cookies } = pageContext
@ -56,7 +58,7 @@ export const render = async (pageContext: PageContext) => {
pageContext.lng = lng
const rootContent = renderToString(() => (
<MetaProvider>
<MetaProvider tags={metaTags}>
<App {...pageContext.pageProps} />
</MetaProvider>
))