Skip to content

Commit

Permalink
feat: text props is now mandatory
Browse files Browse the repository at this point in the history
Co-authored-by: Ludovic Mermod <ludovic.mermod@epfl.ch>
  • Loading branch information
NoeTerrier and Thechi2000 authored Aug 9, 2023
1 parent 77a177a commit 00b5dfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/components/Title.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ export default function Title({ text }: { text: string }) {
<div className="flex items-center">
<div className="bg-blue-950 w-10 h-0.5 mr-2" />
<h1 className="uppercase font-mono font-bold text-blue-950">
{text ? text : "Default title"}
{text}
</h1>
<div className="bg-blue-950 w-10 h-0.5 ml-2" />
</div>
Expand Down

0 comments on commit 00b5dfe

Please sign in to comment.