import { marked } from "marked"; import { useUserStore } from "../../store"; import { Message } from "../../types"; import "highlight.js/styles/github.css"; interface Props { message: Message; } const Message = (props: Props) => { const message = props.message; const userStore = useUserStore(); const currentUser = userStore.currentUser; const isCurrentUser = message.creatorId === currentUser.id; return (