mirror of
https://github.com/logto-io/logto.git
synced 2025-03-31 22:51:25 -05:00
fix(console): center align card title when subtitle is not available (#5432)
This commit is contained in:
parent
7edfeb0aa0
commit
83fe58aa6c
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ type Props = {
|
|||
* is intended to be translated.
|
||||
*/
|
||||
function DangerousRaw({ children }: Props) {
|
||||
return <span>{children}</span>;
|
||||
return children ? <span>{children}</span> : null;
|
||||
}
|
||||
|
||||
export default DangerousRaw;
|
||||
|
|
Loading…
Add table
Reference in a new issue