From ac93b379a9f79e26824f404093d02f0fd381fe75 Mon Sep 17 00:00:00 2001 From: infinite-persistence Date: Wed, 17 Nov 2021 10:25:07 +0800 Subject: [PATCH] Fix annoying hierarchy error with Yrbl `
` cannot be a descendend of `

`, and `{subtitle}`s sometimes need to have `

`s. Just switch from `

` to `

`, and let the client decide when the actual text paragraphs are. --- ui/component/yrbl/index.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/component/yrbl/index.jsx b/ui/component/yrbl/index.jsx index 44af157be..a35fa0bc8 100644 --- a/ui/component/yrbl/index.jsx +++ b/ui/component/yrbl/index.jsx @@ -41,7 +41,7 @@ export default class extends React.PureComponent { {(title || subtitle) && (

{title}

-

{subtitle}

+
{subtitle}
)} {actions}