mirror of
https://github.com/tulir/gomuks.git
synced 2025-04-20 10:33:41 -05:00
web/timeline: fix icon import name
This commit is contained in:
parent
4572a9c882
commit
303ea43834
1 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,7 @@ import type { EventID, MemDBEvent, MemberEventContent } from "@/api/types"
|
||||||
import { getDisplayname } from "@/util/validation.ts"
|
import { getDisplayname } from "@/util/validation.ts"
|
||||||
import ClientContext from "../ClientContext.ts"
|
import ClientContext from "../ClientContext.ts"
|
||||||
import { ContentErrorBoundary, getBodyType } from "./content"
|
import { ContentErrorBoundary, getBodyType } from "./content"
|
||||||
import CloseButton from "@/icons/close.svg?react"
|
import CloseIcon from "@/icons/close.svg?react"
|
||||||
import "./ReplyBody.css"
|
import "./ReplyBody.css"
|
||||||
|
|
||||||
interface ReplyBodyProps {
|
interface ReplyBodyProps {
|
||||||
|
@ -100,7 +100,7 @@ export const ReplyBody = ({ room, event, onClose, isThread, isEditing }: ReplyBo
|
||||||
<span className={`event-sender sender-color-${userColorIndex}`}>
|
<span className={`event-sender sender-color-${userColorIndex}`}>
|
||||||
{getDisplayname(event.sender, memberEvtContent)}
|
{getDisplayname(event.sender, memberEvtContent)}
|
||||||
</span>
|
</span>
|
||||||
{onClose && <button className="close-reply" onClick={onClose}><CloseButton/></button>}
|
{onClose && <button className="close-reply" onClick={onClose}><CloseIcon/></button>}
|
||||||
</div>
|
</div>
|
||||||
<ContentErrorBoundary>
|
<ContentErrorBoundary>
|
||||||
<BodyType room={room} event={event} sender={memberEvt}/>
|
<BodyType room={room} event={event} sender={memberEvt}/>
|
||||||
|
|
Loading…
Add table
Reference in a new issue