mirror of
https://github.com/patarapolw/cjdic2.git
synced 2026-11-08 17:35:18 +00:00
(feat) sql runner for the frontend invoke
This commit is contained in:
1 parent
d6f2b145c3
commit
cbef2046fd
5 files changed
+83
-8
No files matched your search
@@ -5,7 +5,7 @@ import {
|
||||
useRef,
|
||||
useState,
|
||||
} from "react";
|
||||
import { toHiragana } from "wanakana";
|
||||
import { toKana } from "wanakana";
|
||||
|
||||
import {
|
||||
Box,
|
||||
@@ -145,7 +145,7 @@ function SearchPage() {
|
||||
|
||||
function onSearchboxChange(q: string) {
|
||||
if (isAutoKana) {
|
||||
q = toHiragana(q, { useObsoleteKana: true, IMEMode: true });
|
||||
q = toKana(q, { useObsoleteKana: true, IMEMode: true });
|
||||
}
|
||||
|
||||
setQ(q);
|
||||
|
||||
Reference in new issue
Block a user