mirror of
https://github.com/Nutomic/ibis.git
synced 2024-11-22 18:01:10 +00:00
format
This commit is contained in:
parent
2bd2780939
commit
08e6db393b
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ pub fn Notifications() -> impl IntoView {
|
||||||
let notif_ = notif_.clone();
|
let notif_ = notif_.clone();
|
||||||
async move {
|
async move {
|
||||||
if let ArticleApprovalRequired(a) = notif_ {
|
if let ArticleApprovalRequired(a) = notif_ {
|
||||||
CLIENT.approve_article(a.id, true).await.unwrap();
|
CLIENT.approve_article(a.id, true).await.unwrap();
|
||||||
}
|
}
|
||||||
notifications.refetch();
|
notifications.refetch();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue