From 6c39477d135e54c9c8e0d16ca8ea6acb8850837a Mon Sep 17 00:00:00 2001 From: Dominic Elm Date: Thu, 8 Aug 2024 14:53:09 +0200 Subject: [PATCH] fix(FileTree): hidden file patterns (#31) --- packages/bolt/app/components/workbench/FileTree.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/bolt/app/components/workbench/FileTree.tsx b/packages/bolt/app/components/workbench/FileTree.tsx index 8206171..ee309e7 100644 --- a/packages/bolt/app/components/workbench/FileTree.tsx +++ b/packages/bolt/app/components/workbench/FileTree.tsx @@ -4,7 +4,7 @@ import { classNames } from '~/utils/classNames'; import { renderLogger } from '~/utils/logger'; const NODE_PADDING_LEFT = 12; -const DEFAULT_HIDDEN_FILES = [/\/node_modules\//, /\.next/, /\.astro/]; +const DEFAULT_HIDDEN_FILES = [/\/node_modules\//, /\/\.next/, /\/\.astro/]; interface Props { files?: FileMap;