Fixed the meta charset utf-8 issue

This commit is contained in:
Eric Allam
2022-04-29 16:26:21 +01:00
parent 8df0cf4438
commit b5b1993471
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ export function GithubBanner() {
return ( return (
<div className="flex items-center justify-center w-full h-14 bg-indigo-600"> <div className="flex items-center justify-center w-full h-14 bg-indigo-600">
<div className="flex items-center"> <div className="flex items-center">
<Body className="mr-3 text-xl text-white">Star us on Github 👉</Body> <Body className="mr-3 text-xl text-white">Star us on GitHub 👉</Body>
<GithubStar /> <GithubStar />
</div> </div>
</div> </div>
+1 -1
View File
@@ -23,7 +23,6 @@ export const meta: MetaFunction = ({ location }) => {
"JSON Hero makes reading and understand JSON files easy by giving you a clean and beautiful UI packed with extra features."; "JSON Hero makes reading and understand JSON files easy by giving you a clean and beautiful UI packed with extra features.";
return { return {
title: "JSON Viewer - JSON Hero", title: "JSON Viewer - JSON Hero",
charset: "utf-8",
viewport: "width=device-width,initial-scale=1", viewport: "width=device-width,initial-scale=1",
description, description,
"og:image": `https://jsonhero.io/images/opengraph.png`, "og:image": `https://jsonhero.io/images/opengraph.png`,
@@ -72,6 +71,7 @@ function App() {
<html lang="en" className={clsx(theme)}> <html lang="en" className={clsx(theme)}>
<head> <head>
<Meta /> <Meta />
<meta charSet="utf-8" />
<Links /> <Links />
<NonFlashOfWrongThemeEls ssrTheme={Boolean(theme)} /> <NonFlashOfWrongThemeEls ssrTheme={Boolean(theme)} />
</head> </head>