diff --git a/src-ui/app/config_page/setting_section/setting_box/about_vrct/poster_showcase_contents/poster_showcase_worlds_contents/PosterShowcaseWorldsContents.jsx b/src-ui/app/config_page/setting_section/setting_box/about_vrct/poster_showcase_contents/poster_showcase_worlds_contents/PosterShowcaseWorldsContents.jsx index c088040f..e18b27e3 100644 --- a/src-ui/app/config_page/setting_section/setting_box/about_vrct/poster_showcase_contents/poster_showcase_worlds_contents/PosterShowcaseWorldsContents.jsx +++ b/src-ui/app/config_page/setting_section/setting_box/about_vrct/poster_showcase_contents/poster_showcase_worlds_contents/PosterShowcaseWorldsContents.jsx @@ -26,26 +26,28 @@ export const PosterShowcaseWorldsContents = () => {
{target_poster_showcase_world_images.map((poster, index) => { - let content = ( + const class_names = clsx(styles.poster_showcase_world_wrapper, { + [styles.clickable]: (poster.x_post_num !== null) + }); + + const content = (
); if (poster.x_post_num !== null) { - content = ( - + return ( + {content} ); + } else { + return ( +
+ {content} +
+ ); } - const class_names = clsx(styles.poster_showcase_world_wrapper, { - [styles.clickable]: (poster.x_post_num !== null) - }); - return ( -
- {content} -
- ); })}