Include a serde feature in the shared crate
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
use board_shared::tile::Tile;
|
||||
use yew::html;
|
||||
use yew::prelude::*;
|
||||
use yew::{html, Callback, Html};
|
||||
|
||||
#[derive(Properties, PartialEq)]
|
||||
pub struct PlacedTileViewProps {
|
||||
@@ -54,6 +54,6 @@ pub fn tile_view(
|
||||
html! {
|
||||
<div class="tile" onclick={Callback::from(move |_| {
|
||||
on_select.emit(idx)
|
||||
})}>{ tile }</div>
|
||||
})}>{ tile.to_string() }</div>
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user