Clean up destination_plate

This commit is contained in:
Emilia Allison 2023-05-22 13:30:02 -04:00
parent 61ac574b70
commit 4c025d8cad
Signed by: emilia
GPG Key ID: 7A3F8997BFE894E0
1 changed files with 1 additions and 30 deletions

View File

@ -29,23 +29,6 @@ pub fn DestinationPlate(props: &DestinationPlateProps) -> Html {
</table>
</div>
}
/*
cx.render(rsx! {
div {
class: "dest_plate",
table {
for i in 1..=cx.props.height {
tr {
draggable: "false",
for j in 1..=cx.props.width {
DestPlateCell {i: i, j: j}
}
}
},
}
}
})
*/
}
#[derive(Properties, PartialEq)]
@ -57,7 +40,7 @@ pub struct DestPlateCellProps {
#[function_component]
fn DestPlateCell(props: &DestPlateCellProps) -> Html {
let color_string = match &props.color {
let _color_string = match &props.color {
Some(c) => c.clone(),
None => "None".to_string(),
};
@ -67,16 +50,4 @@ fn DestPlateCell(props: &DestPlateCellProps) -> Html {
<div class="plate_cell_inner" />
</td>
}
/*
cx.render(rsx! {
td {
class: "plate_cell",
draggable: "false",
style: "background: {color_string}",
div {
class: "plate_cell_inner"
}
}
})
*/
}