Skip to content

Commit bce0796

Browse files
committed
fix file names
1 parent 15915ff commit bce0796

File tree

1 file changed

+1
-1
lines changed
  • packages/app/src/app/pages/Sandbox/Editor/Workspace/Files/DirectoryEntry

1 file changed

+1
-1
lines changed

packages/app/src/app/pages/Sandbox/Editor/Workspace/Files/DirectoryEntry/validateTitle.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ export default (id, title, siblings = []) => {
44
// It has whitespaces
55
return 'Title cannot have whitespaces';
66
}
7-
if (/[!@#$%^&*(),.?":{}|<>]/g.test(title)) {
7+
if (/[!@#$%^&*(),?":{}|<>]/g.test(title)) {
88
return 'Title cannot have special characters';
99
}
1010

0 commit comments

Comments
 (0)