Skip to content

Commit

Permalink
fix: Fix console warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
baumandm committed Feb 9, 2022
1 parent 9223135 commit 8cc4a94
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

import {
Badge,
Box,
Collapse,
Flex,
HStack,
Expand Down Expand Up @@ -83,7 +84,7 @@ export const InsightInfobar = ({ insight, ...props }: { insight: Insight } & Sta
<Wrap align="center" spacing="0.5rem">
<WrapItem alignItems="baseline">
<SidebarHeading mr="0.5rem">About</SidebarHeading>
<Text fontSize="md">
<Box>
<Linkify>{insight.description}</Linkify>

{insight.metadata?.publishedDate != null && (
Expand All @@ -104,7 +105,7 @@ export const InsightInfobar = ({ insight, ...props }: { insight: Insight } & Sta
{Math.round(insight.readme.readingTime.minutes)} min
</Flex>
)}
</Text>
</Box>
</WrapItem>

{insight.metadata?.publishedDate != null && (
Expand Down
1 change: 1 addition & 0 deletions packages/frontend/src/urql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export const urqlClient = createClient({
InsightFile: () => null,
InsightFileConversion: () => null,
InsightMetadata: () => null,
InsightReadingTime: () => null,
InsightReadme: () => null,
InsightSearchResults: () => null,
LoginActivityDetails: () => null,
Expand Down

0 comments on commit 8cc4a94

Please # to comment.