Skip to content

Commit

Permalink
キレてます
Browse files Browse the repository at this point in the history
  • Loading branch information
totegamma committed Feb 3, 2024
1 parent 8e8b197 commit 02009e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/Message/MessageContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ interface MessageContainerProps {
timestamp?: Date
rerouted?: Message<RerouteMessageSchema>
simple?: boolean
sx?: SxProps
}

export const MessageContainer = memo<MessageContainerProps>((props: MessageContainerProps): JSX.Element | null => {
Expand Down
1 change: 1 addition & 0 deletions src/components/Timeline/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,7 @@ const timeline = forwardRef((props: TimelineProps, ref: ForwardedRef<VListHandle
case 'message':
element = (
<MessageContainer
sx={{ p: 0.5 }}
messageID={e.objectID}
messageOwner={e.owner}
lastUpdated={e.lastUpdate?.getTime() ?? 0}
Expand Down

0 comments on commit 02009e5

Please sign in to comment.