diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 00000000..61e421aa --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,7 @@ +{ + "image": "mcr.microsoft.com/devcontainers/universal:2", + "features": { + "ghcr.io/shyim/devcontainers-features/bun:0": {}, + "ghcr.io/devcontainers-extra/features/mysql-homebrew:1": {} + } +} diff --git a/apps/next/src/modules/learn/cards/write/input-state.tsx b/apps/next/src/modules/learn/cards/write/input-state.tsx index 0a44aba6..ff6ca6e0 100644 --- a/apps/next/src/modules/learn/cards/write/input-state.tsx +++ b/apps/next/src/modules/learn/cards/write/input-state.tsx @@ -51,7 +51,7 @@ export const InputState: React.FC = ({ active, onSubmit }) => { return; } - if (!answer.trim().length) return; + if (!answer.trim().length) handleSubmit(true); onSubmit(answer.trim()); diff --git a/bun.lockb b/bun.lockb index 0ba8c703..a0fa52b1 100755 Binary files a/bun.lockb and b/bun.lockb differ