mirror of
https://github.com/patarapolw/cjdic2.git
synced 2026-11-09 17:39:35 +00:00
fix downloader, no bundle
This commit is contained in:
1 parent
5380742513
commit
047054f8f7
4 files changed
+129
-191
No files matched your search
@@ -45,19 +45,6 @@ function SearchPage() {
|
||||
|
||||
const lang = "ja-JP";
|
||||
|
||||
const isInit = useRef(false);
|
||||
useEffect(() => {
|
||||
if (isInit.current) return;
|
||||
isInit.current = true;
|
||||
|
||||
invoke("search_yomitan", {
|
||||
qTerm: "",
|
||||
qReading: "",
|
||||
limit: 1,
|
||||
offset: 0,
|
||||
});
|
||||
});
|
||||
|
||||
useEffect(() => {
|
||||
trySearch();
|
||||
}, [q]);
|
||||
|
||||
Reference in new issue
Block a user