rm delay
This commit is contained in:
parent
de02fed3cb
commit
c77086f912
1 changed files with 4 additions and 0 deletions
|
@ -1,3 +1,6 @@
|
|||
// use core::time;
|
||||
// use std::time::Duration;
|
||||
|
||||
use leptos::*;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
|
@ -35,5 +38,6 @@ pub async fn get_articles(article_type: ArticleType) -> Result<Vec<Article>, Ser
|
|||
|
||||
let articles: Vec<Article> = sqlx::query_as::<_, Article>(query).fetch_all(&pool).await?;
|
||||
|
||||
// std::thread::sleep(time::Duration::from_millis(2000));
|
||||
Ok(articles)
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue