1
Fork 0
mirror of https://github.com/Steffo99/festa.git synced 2024-12-22 14:44:21 +00:00

Don't use fragment in the postcard renderer

This commit is contained in:
Steffo 2022-06-08 02:38:58 +02:00
parent 1b83bbffb1
commit 23ec8c738b
Signed by: steffo
GPG key ID: 6965406171929D01

View file

@ -6,7 +6,7 @@ import classNames from "classnames";
export function PostcardRenderer() {
const {postcard, visible} = useDefinedContext(PostcardContext)
return <>
return (
<div
className={classNames({
"postcard": true,
@ -16,5 +16,5 @@ export function PostcardRenderer() {
backgroundImage: `url(${postcard})`
}}
/>
</>
)
}