♻️ Rename ambgious hooks

Two different hooks and one store property shared the same name. This commit resolves the ambiguity and makes all names unique
This commit is contained in:
Philipp Stracker 2025-01-02 17:43:02 +01:00
parent 565ee96bb6
commit 084327c635
No known key found for this signature in database
3 changed files with 5 additions and 5 deletions

View file

@ -189,7 +189,7 @@ export const useSandboxConnection = () => {
};
};
export const useManualConnection = () => {
export const useDirectAuthentication = () => {
const { handleFailed, handleCompleted, createErrorNotice } =
useConnectionBase();
const { withActivity } = CommonHooks.useBusyState();
@ -201,7 +201,7 @@ export const useManualConnection = () => {
setClientId,
clientSecret,
setClientSecret,
} = CommonHooks.useManualConnection();
} = CommonHooks.useAuthentication();
const handleConnectViaIdAndSecret = async ( { validation } = {} ) => {
return withActivity(