Skip to content

Commit

Permalink
refactor: Update Header component props to make url required
Browse files Browse the repository at this point in the history
Make the `url` prop in the Header component required by changing its type to
`string | null`. This change ensures that a URL is always provided for the
Header component to function correctly.
  • Loading branch information
nexmoe committed May 1, 2024
1 parent 9a616af commit 8f85a12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/flow/Header.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script setup lang="ts">
interface Props {
url?: string
url: string | null
title: string
id: string
}
Expand Down

0 comments on commit 8f85a12

Please sign in to comment.