mirror of
https://github.com/wailsapp/wails.git
synced 2025-05-03 10:23:03 +08:00
[v2] Fix typo in templates
This commit is contained in:
parent
bb25b3f42f
commit
35ebbdfa12
@ -22,7 +22,7 @@ func (b *App) startup(ctx context.Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// domReady is called after the front-end dom has been loaded
|
// domReady is called after the front-end dom has been loaded
|
||||||
func (b App) domReady(ctx context.Context) {
|
func (b *App) domReady(ctx context.Context) {
|
||||||
// Add your action here
|
// Add your action here
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -22,7 +22,7 @@ func (b *App) startup(ctx context.Context) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// domReady is called after the front-end dom has been loaded
|
// domReady is called after the front-end dom has been loaded
|
||||||
func (b App) domReady(ctx context.Context) {
|
func (b *App) domReady(ctx context.Context) {
|
||||||
// Add your action here
|
// Add your action here
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user