Replace other usages of old post-embeds

This commit is contained in:
Eric Bailey
2025-03-01 15:30:43 -06:00
parent 2b6924b9d3
commit 55a0a5126d
4 changed files with 17 additions and 7 deletions
+3 -1
View File
@@ -38,6 +38,8 @@ import {ListEmbed} from './ListEmbed'
import {PostPlaceholder as PostPlaceholderText} from './PostPlaceholder'
import {CommonProps, EmbedProps} from './types'
export {PostEmbedViewContext, QuoteEmbedViewContext} from './types'
export function Embed({embed: rawEmbed, ...rest}: EmbedProps) {
const embed = parseEmbed(rawEmbed)
@@ -206,7 +208,7 @@ export function PostDetachedEmbed({
* Nests parent `Embed` component and therefore must live in this file to avoid
* circular imports.
*/
function QuoteEmbed({
export function QuoteEmbed({
embed,
onOpen,
style,