-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Eslint config update ignores branch (#113)
* feat: Improve type safety in adapter functions - Define a mapping type to constrain functions in adapters - Ensure adapters comply with the mapping type - Use type assertion instead of 'any' to enforce type safety fix: Disable XSS warning for v-html directive in Vue files - Add rule to disable 'vue/no-v-html' warning in Vue files chore: Update list of allowed domains in nuxt.config.ts - Add 'ipfs.crossbell.io' to the list of allowed domains * refactor: Update Header component props to make url required 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
Showing
4 changed files
with
19 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters