mirror of
https://github.com/Steffo99/festa.git
synced 2024-12-22 22:54:22 +00:00
Don't use fragment in the postcard renderer
This commit is contained in:
parent
1b83bbffb1
commit
23ec8c738b
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ import classNames from "classnames";
|
||||||
export function PostcardRenderer() {
|
export function PostcardRenderer() {
|
||||||
const {postcard, visible} = useDefinedContext(PostcardContext)
|
const {postcard, visible} = useDefinedContext(PostcardContext)
|
||||||
|
|
||||||
return <>
|
return (
|
||||||
<div
|
<div
|
||||||
className={classNames({
|
className={classNames({
|
||||||
"postcard": true,
|
"postcard": true,
|
||||||
|
@ -16,5 +16,5 @@ export function PostcardRenderer() {
|
||||||
backgroundImage: `url(${postcard})`
|
backgroundImage: `url(${postcard})`
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</>
|
)
|
||||||
}
|
}
|
Loading…
Reference in a new issue