瀏覽代碼

fixed comments

tonyboylehub 5 月之前
父節點
當前提交
30725f7b80
共有 2 個文件被更改,包括 0 次插入8 次删除
  1. 0 2
      src/components/apiComponents/apiComponentWrapper.jsx
  2. 0 6
      src/middleware.js

+ 0 - 2
src/components/apiComponents/apiComponentWrapper.jsx

@@ -143,8 +143,6 @@ const ApiComponentWrapper = (args) => {
     setIsLoading(true)
     setIsLoading(true)
 
 
     try {
     try {
-      // Validate URL
-      // Validate URL
       if (!activeEndpoint) {
       if (!activeEndpoint) {
         throw new Error('Endpoint URL is required')
         throw new Error('Endpoint URL is required')
       }
       }

+ 0 - 6
src/middleware.js

@@ -18,12 +18,6 @@ const redirectRules = {
     '/getting-started': '/bubblegum/sdk',
     '/getting-started': '/bubblegum/sdk',
     '/getting-started/js': '/bubblegum/sdk/javascript',
     '/getting-started/js': '/bubblegum/sdk/javascript',
     '/getting-started/rust': '/bubblegum/sdk/rust',
     '/getting-started/rust': '/bubblegum/sdk/rust',
-    '/fetch-cnfts': '/bubblegum-v2/fetch-cnfts',
-    '/concurrent-merkle-trees': '/bubblegum-v2/concurrent-merkle-trees',
-    '/stored-nft-data': '/bubblegum-v2/stored-nft-data',
-    '/hashed-nft-data': '/bubblegum-v2/hashed-nft-data',
-    '/merkle-tree-canopy': '/bubblegum-v2/merkle-tree-canopy',
-    '/faq': '/bubblegum-v2/faq',
   },
   },
   '/core': {
   '/core': {
     '/getting-started': '/core/sdk',
     '/getting-started': '/core/sdk',