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']>) {
|
export function validateComponentsProp(components: Record<string, AstroInstance['default']>) {
|
||||||
try {
|
try {
|
||||||
return componentsPropValidator.parse(components);
|
componentsPropValidator.parse(components);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
throw new MarkdocError({
|
throw new MarkdocError({
|
||||||
message:
|
message:
|
||||||
|
|
Loading…
Reference in a new issue