const [verifyLicenseKey, { loading: isLoading }] = useLicenseKeyMutation({
onCompleted: () => {
toast.success(
t('common:PICKBAZAR_MESSAGE.LICENSE_VERIFIED_SUCCESSFULLY'),
);
setTimeout(() => router.replace(Routes.dashboard), 700);
},
onError: () =>
toast.error(t('common:PICKBAZAR_MESSAGE.INVALID_LICENSE_KEY')),
});