diff --git a/web/src/components/CreateShortcutDialog.tsx b/web/src/components/CreateShortcutDialog.tsx index 03e07f0..57b87f3 100644 --- a/web/src/components/CreateShortcutDialog.tsx +++ b/web/src/components/CreateShortcutDialog.tsx @@ -164,13 +164,13 @@ const CreateShortcutDialog: React.FC = (props: Props) => { title: state.shortcutCreate.title, description: state.shortcutCreate.description, visibility: state.shortcutCreate.visibility, - tags: tag.split(" "), + tags: tag.split(" ").filter(Boolean), openGraphMetadata: state.shortcutCreate.openGraphMetadata, }); } else { await shortcutService.createShortcut({ ...state.shortcutCreate, - tags: tag.split(" "), + tags: tag.split(" ").filter(Boolean), }); }