diff options
author | Aylur <[email protected]> | 2024-11-13 22:18:51 +0000 |
---|---|---|
committer | Aylur <[email protected]> | 2024-11-13 22:18:51 +0000 |
commit | 03a062b1cdcad9655a132fa03bf80fea21e94fc8 (patch) | |
tree | cab62ae1591423e920158de2b7b6f07b83566268 /docs/guide/typescript/cli-app.md | |
parent | a60ad45f7dde90ee1fca8bf0aecaad682e029623 (diff) |
docs: fix import paths
Diffstat (limited to 'docs/guide/typescript/cli-app.md')
-rw-r--r-- | docs/guide/typescript/cli-app.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/guide/typescript/cli-app.md b/docs/guide/typescript/cli-app.md index 9217acc..9fa307c 100644 --- a/docs/guide/typescript/cli-app.md +++ b/docs/guide/typescript/cli-app.md @@ -92,7 +92,7 @@ In order for Astal to know about your windows, you have to register them. You can do this by specifying a **unique** `name` and calling `App.add_window` ```tsx {4} -import { App } from "astal" +import { App } from "astal/gtk3" function Bar() { return <window name="Bar" setup={self => App.add_window(self)}> @@ -104,7 +104,7 @@ function Bar() { You can also invoke `App.add_window` by simply passing the `App` to the `application` prop. ```tsx {4} -import { App } from "astal" +import { App } from "astal/gtk3" function Bar() { return <window name="Bar" application={App}> |