nit: remove unused return
This commit is contained in:
parent
7eddf996e3
commit
aec7a0931f
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ export function prependForwardSlash(str: string) {
|
|||
|
||||
export function validateComponentsProp(components: Record<string, AstroInstance['default']>) {
|
||||
try {
|
||||
return componentsPropValidator.parse(components);
|
||||
componentsPropValidator.parse(components);
|
||||
} catch (e) {
|
||||
throw new MarkdocError({
|
||||
message:
|
||||
|
|
Loading…
Reference in a new issue