We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a060986 commit f1ce5dfCopy full SHA for f1ce5df
apps/renderer/src/modules/profile/hooks.ts
@@ -50,6 +50,7 @@ export const usePresentUserProfileModal = (variant: Variant = "dialog") => {
50
(userId: string | undefined, overrideVariant?: Variant) => {
51
if (!userId) return
52
const finalVariant = overrideVariant || variant
53
+
54
present({
55
title: "User Profile",
56
content: () =>
@@ -61,6 +62,7 @@ export const usePresentUserProfileModal = (variant: Variant = "dialog") => {
61
62
clickOutsideToDismiss: true,
63
modal: finalVariant === "dialog",
64
overlay: finalVariant === "dialog",
65
+ autoFocus: false,
66
modalContainerClassName:
67
finalVariant === "drawer" ? "right-4 left-[auto] top-4 bottom-4" : "",
68
})
0 commit comments