Skip to content

Commit

Permalink
Chore: Remove broken input demo (old deprecated API)
Browse files Browse the repository at this point in the history
  • Loading branch information
SBoudrias committed Mar 29, 2024
1 parent 98e4b50 commit 333ab02
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/demo/demos/input.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,6 @@ const demo = async () => {
}),
});
console.log('Answer:', answer);

answer = await input({
message: () =>
new Promise((resolve) => {
setTimeout(() => resolve('(Slow message) Input any value:'), 3000);
}),
});
console.log('Answer:', answer);
};

if (import.meta.url.startsWith('file:')) {
Expand Down

0 comments on commit 333ab02

Please sign in to comment.