fix frontend string id bug
This commit is contained in:
parent
e3c384ea5a
commit
ed06b081ad
@ -16,7 +16,7 @@ h1 {
|
|||||||
font-size: 150%;
|
font-size: 150%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.joke {
|
.question {
|
||||||
border: 1px solid black;
|
border: 1px solid black;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
use crate::*;
|
use crate::*;
|
||||||
|
|
||||||
#[derive(Properties, Clone, PartialEq, serde::Deserialize)]
|
#[derive(Properties, Clone, PartialEq, serde::Deserialize, Debug)]
|
||||||
pub struct QuestionStruct {
|
pub struct QuestionStruct {
|
||||||
pub id: String,
|
pub id: i32,
|
||||||
pub title: String,
|
pub title: String,
|
||||||
pub content: String,
|
pub content: String,
|
||||||
pub tags: Option<HashSet<String>>,
|
pub tags: Option<HashSet<String>>,
|
||||||
|
Reference in New Issue
Block a user