Ver código fonte

stop fetching tokens all the time

Roman 3 anos atrás
pai
commit
dc884b17f8
2 arquivos alterados com 1 adições e 0 exclusões
  1. 1 0
      fileControlPanel/src/elements/token-list.js
  2. 0 0
      js/files.min.js

+ 1 - 0
fileControlPanel/src/elements/token-list.js

@@ -45,6 +45,7 @@ export function TokenList(props) {
                 setTokens(res.tokens);
             } else {
                 pushAlert(res, "Error fetching tokens");
+                setTokens([]);
             }
         });
     }

Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 0
js/files.min.js


Alguns arquivos não foram mostrados porque muitos arquivos mudaram nesse diff