mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 08:23:34 +00:00
Fix hook name in PullRequestDialog
Fixed reference from useAppConfig() to useAppContext() to correctly access the application configuration for auto-announcement feature.
This commit is contained in:
1 parent
b7133fb6c1
commit
496f687d85
1 file changed
+1
-1
@@ -88,7 +88,7 @@ export function PullRequestDialog({
|
||||
const { toast } = useToast();
|
||||
const { user } = useCurrentUser();
|
||||
const { nostr } = useNostr();
|
||||
const { config } = useAppConfig();
|
||||
const { config } = useAppContext();
|
||||
const projectPath = `/projects/${projectId}`;
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in new issue
Block a user