hide errors when creating new workspace

pull/1176/head
filip mertens 4 years ago
parent 92536a105f
commit 09c23bd319
  1. 3
      libs/remix-ui/file-explorer/src/lib/file-explorer.tsx

@ -261,8 +261,7 @@ export const FileExplorer = (props: FileExplorerProps) => {
const fetchDirectoryContent = async (folderPath: string): Promise<File[]> => {
return new Promise((resolve) => {
filesProvider.resolveDirectory(folderPath, (error, fileTree) => {
if (error) console.error(error)
filesProvider.resolveDirectory(folderPath, (_error, fileTree) => {
const files = normalize(fileTree)
resolve(files)

Loading…
Cancel
Save