diff --git a/chat/global.d.ts b/chat/global.d.ts index 978e81e9a..f943af7a5 100644 --- a/chat/global.d.ts +++ b/chat/global.d.ts @@ -9,6 +9,7 @@ declare interface IChatMessage { hat: string; namecolor: string; text: string; + base_text_censored: string; text_censored: string; text_html: string; time: number; diff --git a/chat/package.json b/chat/package.json index 8a5b4e211..f426a6756 100644 --- a/chat/package.json +++ b/chat/package.json @@ -1,6 +1,6 @@ { "name": "chat", - "version": "0.0.22", + "version": "0.0.23", "main": "./src/index.tsx", "license": "MIT", "dependencies": { diff --git a/chat/src/features/chat/QuotedMessage.tsx b/chat/src/features/chat/QuotedMessage.tsx index 16ec59fd6..ff9c53888 100644 --- a/chat/src/features/chat/QuotedMessage.tsx +++ b/chat/src/features/chat/QuotedMessage.tsx @@ -1,17 +1,14 @@ import React from "react"; -import { useChat, useRootContext } from "../../hooks"; -import { Username } from "./Username"; +import { useChat } from "../../hooks"; import "./QuotedMessage.css"; import { QuotedMessageLink } from "./QuotedMessageLink"; export function QuotedMessage() { const { quote, quoteMessage } = useChat(); - const { censored } = useRootContext(); return (
-