13 lines
329 B
Text
13 lines
329 B
Text
|
error[E0412]: cannot find type `Json` in this scope
|
||
|
--> src/component/login.rs:6:16
|
||
|
|
|
||
|
6 | fn create() -> Json {}
|
||
|
| ^^^^ not found in this scope
|
||
|
|
|
||
|
help: possible candidates are found in other modules, you can import them into scope
|
||
|
|
|
||
|
1 | use yew::format::Json;
|
||
|
|
|
||
|
1 | use yew::format::json::Json;
|
||
|
|
|