chore: Refactors towards shared menu component (#4445)

This commit is contained in:
Tom Moor
2022-11-19 13:15:38 -08:00
committed by GitHub
parent 924b554281
commit ae6855f3df
21 changed files with 186 additions and 194 deletions

View File

@@ -9,7 +9,7 @@ export default function DisabledEmbed(props: Props & ThemeProps<DefaultTheme>) {
<Widget
title={props.embed.title}
href={props.attrs.href}
icon={props.embed.icon(undefined)}
icon={props.embed.icon}
context={props.attrs.href.replace(/^https?:\/\//, "")}
isSelected={props.isSelected}
theme={props.theme}