fix frontend string id bug

This commit is contained in:
David Westgate 2024-06-11 22:45:47 -07:00
parent e3c384ea5a
commit ed06b081ad
2 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ h1 {
font-size: 150%;
}
.joke {
.question {
border: 1px solid black;
}

View File

@ -1,8 +1,8 @@
use crate::*;
#[derive(Properties, Clone, PartialEq, serde::Deserialize)]
#[derive(Properties, Clone, PartialEq, serde::Deserialize, Debug)]
pub struct QuestionStruct {
pub id: String,
pub id: i32,
pub title: String,
pub content: String,
pub tags: Option<HashSet<String>>,