chore: bump deps; fix clippy lints & cleanup
Signed-off-by: NotAShelf <raf@notashelf.dev> Change-Id: I4c4815ad145650a07f108614034d2e996a6a6964
This commit is contained in:
parent
c535650f45
commit
cd1161ee5d
41 changed files with 1528 additions and 953 deletions
|
|
@ -80,12 +80,11 @@ pub fn MarkdownViewer(
|
|||
})();
|
||||
"#;
|
||||
|
||||
if let Ok(result) = eval(check_js).await {
|
||||
if let Some(target) = result.as_str() {
|
||||
if !target.is_empty() {
|
||||
handler.call(target.to_string());
|
||||
}
|
||||
}
|
||||
if let Ok(result) = eval(check_js).await
|
||||
&& let Some(target) = result.as_str()
|
||||
&& !target.is_empty()
|
||||
{
|
||||
handler.call(target.to_string());
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue