diff --git a/package.json b/package.json index 4e9c3ca76..83812c394 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "vencord", "private": "true", - "version": "1.13.3", + "version": "1.13.4", "description": "The cutest Discord client mod", "homepage": "https://github.com/Vendicated/Vencord#readme", "bugs": { diff --git a/src/plugins/showTimeoutDuration/index.tsx b/src/plugins/showTimeoutDuration/index.tsx index 0be7513ec..472eb7854 100644 --- a/src/plugins/showTimeoutDuration/index.tsx +++ b/src/plugins/showTimeoutDuration/index.tsx @@ -18,7 +18,7 @@ import { ChannelStore, GuildMemberStore, Text, TooltipContainer } from "@webpack import { ReactNode } from "react"; const countDownFilter = canonicalizeMatch(/#{intl::MAX_AGE_NEVER}/); -const CountDown = findComponentLazy(m => countDownFilter.test(m.prototype?.render?.toString())); +const CountDown = findComponentLazy(m => m.prototype?.render && countDownFilter.test(m.prototype.render.toString())); const enum DisplayStyle { Tooltip = "tooltip",