From 80a5612fdae12e78a92b415997cddd4a0acbbe2a Mon Sep 17 00:00:00 2001 From: Liam Fitzgerald Date: Thu, 29 Apr 2021 14:19:30 +1000 Subject: [PATCH] interface: use new GraphContent --- .../src/views/apps/chat/components/ChatMessage.tsx | 6 +++--- pkg/interface/src/views/apps/publish/components/Note.tsx | 4 ++-- pkg/interface/src/views/components/CommentItem.tsx | 6 +++--- .../landscape/components/Home/Post/PostItem/PostContent.js | 6 +++--- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/pkg/interface/src/views/apps/chat/components/ChatMessage.tsx b/pkg/interface/src/views/apps/chat/components/ChatMessage.tsx index 306d221ef..be73292ee 100644 --- a/pkg/interface/src/views/apps/chat/components/ChatMessage.tsx +++ b/pkg/interface/src/views/apps/chat/components/ChatMessage.tsx @@ -42,7 +42,7 @@ import useContactState from '~/logic/state/contact'; import { useIdlingState } from '~/logic/lib/idling'; import ProfileOverlay from '~/views/components/ProfileOverlay'; import {useCopy} from '~/logic/lib/useCopy'; -import {GraphContentWide} from '~/views/landscape/components/Graph/GraphContentWide'; +import { GraphContent} from '~/views/landscape/components/Graph/GraphContent'; export const DATESTAMP_FORMAT = '[~]YYYY.M.D'; @@ -530,10 +530,10 @@ export const Message = ({ ) : ( <> )} - - + ); } diff --git a/pkg/interface/src/views/components/CommentItem.tsx b/pkg/interface/src/views/components/CommentItem.tsx index f65273189..e98780c39 100644 --- a/pkg/interface/src/views/components/CommentItem.tsx +++ b/pkg/interface/src/views/components/CommentItem.tsx @@ -15,7 +15,7 @@ import { getLatestCommentRevision } from '~/logic/lib/publish'; import {useCopy} from '~/logic/lib/useCopy'; import { getPermalinkForGraph} from '~/logic/lib/permalinks'; import useMetadataState from '~/logic/state/metadata'; -import {GraphContentWide} from '../landscape/components/Graph/GraphContentWide'; +import {GraphContent } from '../landscape/components/Graph/GraphContent'; const ClickBox = styled(Box)` cursor: pointer; @@ -102,14 +102,14 @@ export function CommentItem(props: CommentItemProps): ReactElement { - diff --git a/pkg/interface/src/views/landscape/components/Home/Post/PostItem/PostContent.js b/pkg/interface/src/views/landscape/components/Home/Post/PostItem/PostContent.js index 681e5dfc9..a9a19ff2b 100644 --- a/pkg/interface/src/views/landscape/components/Home/Post/PostItem/PostContent.js +++ b/pkg/interface/src/views/landscape/components/Home/Post/PostItem/PostContent.js @@ -1,6 +1,6 @@ import React from 'react'; import { Col, Box } from '@tlon/indigo-react'; -import { GraphContentWide } from "~/views/landscape/components/Graph/GraphContentWide"; +import { GraphContent } from '~/views/landscape/components/Graph/GraphContent'; import styled from 'styled-components'; const TruncatedBox = styled(Col)` @@ -23,9 +23,9 @@ export function PostContent(props) { textOverflow="ellipsis" overflow="hidden" > -