diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-08-14 01:12:31 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-14 01:12:31 +0300 |
commit | b2c56cbd6dfa9af576f947dd41a0d33376b184d1 (patch) | |
tree | acdf57b6e7e2860c89b20b1dc239fe20521cb1c4 /src/components/intents/IntentDialogs.tsx | |
parent | 275fece3e3de0bd09377a33813bcfe35e352874b (diff) | |
download | voidsky-b2c56cbd6dfa9af576f947dd41a0d33376b184d1.tar.zst |
Add displayName to contexts (#8814)
Diffstat (limited to 'src/components/intents/IntentDialogs.tsx')
-rw-r--r-- | src/components/intents/IntentDialogs.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/intents/IntentDialogs.tsx b/src/components/intents/IntentDialogs.tsx index 244850370..40b227e49 100644 --- a/src/components/intents/IntentDialogs.tsx +++ b/src/components/intents/IntentDialogs.tsx @@ -1,7 +1,7 @@ import React from 'react' import * as Dialog from '#/components/Dialog' -import {DialogControlProps} from '#/components/Dialog' +import {type DialogControlProps} from '#/components/Dialog' import {VerifyEmailIntentDialog} from '#/components/intents/VerifyEmailIntentDialog' interface Context { @@ -11,6 +11,7 @@ interface Context { } const Context = React.createContext({} as Context) +Context.displayName = 'IntentDialogsContext' export const useIntentDialogs = () => React.useContext(Context) export function Provider({children}: {children: React.ReactNode}) { |