From 03a062b1cdcad9655a132fa03bf80fea21e94fc8 Mon Sep 17 00:00:00 2001 From: Aylur Date: Wed, 13 Nov 2024 22:18:51 +0000 Subject: docs: fix import paths --- docs/guide/typescript/faq.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/guide/typescript/faq.md') diff --git a/docs/guide/typescript/faq.md b/docs/guide/typescript/faq.md index 48c802c..a151099 100644 --- a/docs/guide/typescript/faq.md +++ b/docs/guide/typescript/faq.md @@ -7,7 +7,7 @@ the same as the compositor. Instead use the `gdkmonitor` property which expects a `Gdk.Monitor` object. ```tsx -import { App } from "astal" +import { App } from "astal/gtk3" function Bar(gdkmonitor) { return @@ -162,7 +162,7 @@ export default function Bar(gdkmonitor: Gdk.Monitor) { :::code-group ```ts [app.ts] -import { Gdk, Gtk } from "astal" +import { Gdk, Gtk } from "astal/gtk3" import Bar from "./Bar" function main() { -- cgit v1.2.3