fix dom nesting err

This commit is contained in:
karamvir
2023-08-06 10:48:39 -07:00
parent 0e2ca7c0d9
commit 9c73ffd7da

View File

@@ -10,7 +10,7 @@ interface ResourceProps {
export const Resource = ({ title, info, actions, children }: ResourceProps) => (
<Page
title={<h1 className="text-4xl">{title}</h1>}
title={title}
subtitle={<h2 className="text-md">{info}</h2>}
actions={actions}
>