Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ftk789 committed Sep 18, 2024
1 parent ea50f28 commit 2dc9544
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/site/kick.com/modules/chat/ChatObserver.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ function getReactProps<T>(element: HTMLElement): T | undefined {
}
function isDefaultReactMessageProps(props: unknown): props is Kick.Message.DefaultProps {
return (
props != null &&
typeof props === "object" &&
Expand All @@ -61,8 +60,6 @@ function getMessageReactProps(el: HTMLDivElement): Kick.Message.DefaultProps | u
const props = getReactProps(messageElements as HTMLElement) as
| { children: ReactExtended.Writeable<Kick.Message.DefaultProps> }
| undefined;
if (!props || !Array.isArray(props.children)) return;
const child = props.children.find((child) => child?.props?.sender);
Expand Down

0 comments on commit 2dc9544

Please sign in to comment.