Jelajahi Sumber

add comment

Yuki Takei 2 tahun lalu
induk
melakukan
a493f90d10
1 mengubah file dengan 1 tambahan dan 0 penghapusan
  1. 1 0
      packages/remark-lsx/src/stores/lsx/lsx.ts

+ 1 - 0
packages/remark-lsx/src/stores/lsx/lsx.ts

@@ -17,6 +17,7 @@ export const useSWRxLsx = (pagePath: string, options?: Record<string, string|und
     ['/_api/lsx', pagePath, options, isImmutable],
     async([endpoint, pagePath, options]) => {
       try {
+        // parse num option
         const offsetAndLimit = options?.num != null
           ? parseNumOption(options.num)
           : null;