Skip to content

Commit

Permalink
refactor: remove unused Migemo instantiation
Browse files Browse the repository at this point in the history
The Migemo instantiation was removed from the /api endpoint handler
in app/index.tsx as it was not being used. This change cleans up the
code and removes unnecessary lines.
  • Loading branch information
ryoppippi committed Jan 27, 2025
1 parent a337c31 commit e950d04
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ app.get('/', async (c) => {

app.post('/api', async (c) => {
const { query }: { query: string } = await c.req.json();
using migemo = new Migemo();
let result: string = '';
const start = performance.now();
migemo.query(query, (s) => {
Expand Down

0 comments on commit e950d04

Please sign in to comment.