Fix marker page error (#237)

This commit is contained in:
WithoutPants 2019-12-01 01:46:21 +11:00 committed by StashAppDev
parent 8493c013e7
commit dc781df417
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ export const WallItem: FunctionComponent<IWallItemProps> = (props: IWallItemProp
const [tags, setTags] = useState<JSX.Element[]>([]); const [tags, setTags] = useState<JSX.Element[]>([]);
const config = StashService.useConfiguration(); const config = StashService.useConfiguration();
const videoHoverHook = VideoHoverHook.useVideoHover({resetOnMouseLeave: true}); const videoHoverHook = VideoHoverHook.useVideoHover({resetOnMouseLeave: true});
const showTextContainer = !!config.data ? config.data.configuration.interface.wallShowTitle : true; const showTextContainer = !!config.data && !!config.data.configuration ? config.data.configuration.interface.wallShowTitle : true;
function onMouseEnter() { function onMouseEnter() {
VideoHoverHook.onMouseEnter(videoHoverHook); VideoHoverHook.onMouseEnter(videoHoverHook);