Skip to content

Commit

Permalink
fix(demo): make demo classes serializable
Browse files Browse the repository at this point in the history
  • Loading branch information
javier-godoy authored and mlopezFC committed Apr 3, 2024
1 parent 7a0cd5c commit 6f66e94
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
import com.vaadin.flow.data.renderer.LitRenderer;
import com.vaadin.flow.router.PageTitle;
import com.vaadin.flow.router.Route;
import java.io.Serializable;
import java.util.List;

@DemoSource
Expand Down Expand Up @@ -60,7 +61,7 @@ public LitRendererDemo() {
add(grid);
}

private class Person {
private static class Person implements Serializable {
int id;
String name;
int age;
Expand Down

0 comments on commit 6f66e94

Please sign in to comment.