Skip to content

Commit

Permalink
Update hud.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pernielsentikaer authored Aug 20, 2024
1 parent 461342e commit b3e8e5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/api-reference/feedback/hud.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export default async function Command() {
`showHUD` closes the main window when called, so you can use the same options as `closeMainWindow`:

```typescript
import { showHUD } from "@raycast/api";
import { PopToRootType, showHUD } from "@raycast/api";

export default async function Command() {
await showHUD("Hey there 👋", { clearRootSearch: true, popToRootType: PopToRootType.Immediate });
Expand Down

0 comments on commit b3e8e5f

Please sign in to comment.