Skip to content

Commit c51862c

Browse files
committed
fix: application lifecycle doc code sample
1 parent 55b311a commit c51862c

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

resources/views/docs/1/the-basics/app-lifecycle.md

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -40,21 +40,7 @@ class NativeAppServiceProvider
4040
*/
4141
public function boot(): void
4242
{
43-
Menu::new()
44-
->appMenu()
45-
->submenu('About', Menu::new()
46-
->link('https://nativephp.com', 'NativePHP')
47-
)
48-
->submenu('View', Menu::new()
49-
->toggleFullscreen()
50-
->separator()
51-
->toggleDevTools()
52-
)
53-
->register();
54-
55-
Window::open()
56-
->width(800)
57-
->height(800);
43+
Window::open();
5844
}
5945
}
6046
```

0 commit comments

Comments
 (0)