mirror of https://github.com/stashapp/stash.git
Fix marker page error (#237)
This commit is contained in:
parent
8493c013e7
commit
dc781df417
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue