moved og:image outside of isReady scope so it renders on the server

This commit is contained in:
Peer Richelsen committed 2021-08-12 19:05:46 +02:00
1 parent d682804c5f
commit 99e003153e
3 files changed
+200 -147

No files matched your search

+2 -2
View File
@@ -166,9 +166,9 @@ const DatePicker = ({
return selectedMonth ? (
<div
className={
"mt-8 sm:mt-0 sm:min-w-[480px] " +
"mt-8 sm:mt-0 sm:min-w-[455px] " +
(selectedDate
? "w-full sm:min-w-[465px] sm:w-1/2 md:w-1/3 sm:border-r sm:dark:border-gray-800 sm:pl-4 sm:pr-6 "
? "w-full sm:w-1/2 md:w-1/3 sm:border-r sm:dark:border-gray-800 sm:pl-4 sm:pr-6 "
: "sm:w-1/2 sm:pl-4")
}>
<div className="flex text-gray-600 font-light text-xl mb-4">