Skip to content

Commit

Permalink
Update packages/react/src/alert-dialog/root/AlertDialogRootContext.ts
Browse files Browse the repository at this point in the history
Signed-off-by: Marija Najdova <mnajdova@gmail.com>
  • Loading branch information
mnajdova authored Dec 18, 2024
1 parent 823db7c commit 176dffa
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export function useAlertDialogRootContext() {
const context = React.useContext(DialogContext);
if (context === undefined) {
throw new Error(
'Base UI: AlertDialogRootContext is missing. Alert dialogs parts must be placed within <AlertDialog.Root>.',
'Base UI: AlertDialogRootContext is missing. AlertDialog parts must be placed within <AlertDialog.Root>.',
);
}

Expand Down

0 comments on commit 176dffa

Please sign in to comment.