Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
Osiris-Team committed Feb 4, 2023
2 parents 2757328 + 196ad75 commit ce441dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class Main {

// Create routes
Route home = new MRoute("/", () -> { // It's recommended to create a new class and extend Route instead (for larger UIs)
return new Layout().text("Hello World!");
return new Layout().add(new Text("Hello World!"));
});

// Create windows
Expand Down

0 comments on commit ce441dd

Please sign in to comment.