mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
chore: remove unused ts-expect-error directive
This commit is contained in:
parent
f13417bfbf
commit
0180487790
1 changed files with 0 additions and 1 deletions
|
@ -16,7 +16,6 @@ type Props = {
|
|||
const StaticHtml = ({ value, name, hydrate = true }: Props) => {
|
||||
if (!value) return null;
|
||||
const tagName = hydrate ? 'astro-slot' : 'astro-static-slot';
|
||||
// @ts-expect-error pass `name` as a prop, ignoring type errors
|
||||
return h(tagName, { name, dangerouslySetInnerHTML: { __html: value } });
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue