♻️ Rename Redux action for consistent naming

This commit is contained in:
Philipp Stracker 2024-12-03 17:54:09 +01:00
parent 8341d4ec0e
commit 9075679921
No known key found for this signature in database
3 changed files with 10 additions and 9 deletions

View file

@ -26,12 +26,12 @@ const useCommonConnectionLogic = () => {
};
export const useSandboxConnection = () => {
const { connectViaSandbox, isSandboxMode, setSandboxMode } =
const { connectToSandbox, isSandboxMode, setSandboxMode } =
CommonHooks.useSandbox();
const { handleServerError, createErrorNotice } = useCommonConnectionLogic();
const handleSandboxConnect = async () => {
const res = await connectViaSandbox();
const res = await connectToSandbox();
if ( ! res.success || ! res.data ) {
handleServerError(