Skip to content

Commit

Permalink
update: blank title markup support added
Browse files Browse the repository at this point in the history
  • Loading branch information
shohag121 committed Oct 18, 2024
1 parent e931d06 commit 057a92f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Layout/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const Header = ( { title = '' } ) => {
<>
<Slot name="dokan-before-header" />
<div className="dokan-header-title">
<h1 className="mb-4 text-3xl font-extrabold text-gray-900 dark:text-white md:text-5xl lg:text-6xl">{title}</h1>
{ title && (<h1 className="mb-4 text-3xl font-extrabold text-gray-900 dark:text-white md:text-5xl lg:text-6xl">{title}</h1>)}
</div>
<div className="dokan-header-actions">
<Slot name="dokan-header-actions"/>
Expand Down

0 comments on commit 057a92f

Please sign in to comment.