mirror of
https://github.com/urbit/shrub.git
synced 2024-12-01 06:35:32 +03:00
GraphContent: use correct type for code content
This commit is contained in:
parent
88f02e6115
commit
0d38218c0a
@ -13,7 +13,7 @@ import {
|
||||
Tr,
|
||||
Td
|
||||
} from '@tlon/indigo-react';
|
||||
import { Content } from '@urbit/api';
|
||||
import { Content, CodeContent } from '@urbit/api';
|
||||
import _ from 'lodash';
|
||||
import { BlockContent, Content as AstContent, Parent, Root } from 'ts-mdast';
|
||||
import React from 'react';
|
||||
@ -23,7 +23,6 @@ import { PropFunc } from '~/types';
|
||||
import { PermalinkEmbed } from '~/views/apps/permalinks/embed';
|
||||
import { Mention } from '~/views/components/MentionText';
|
||||
import RemoteContent from '~/views/components/RemoteContent';
|
||||
import CodeContent from './content/code';
|
||||
import { parseTall, parseWide } from './parse';
|
||||
|
||||
type StitchMode = 'merge' | 'block' | 'inline';
|
||||
|
Loading…
Reference in New Issue
Block a user