login
This commit is contained in:
@@ -186,7 +186,8 @@ export const useCreateLearning = () => {
|
||||
|
||||
// Return mock mutation
|
||||
return {
|
||||
mutate: (variables: CreateLearningType, options?: any) => {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
mutate: (options?: any) => {
|
||||
// Simulate success
|
||||
setTimeout(() => {
|
||||
if (options?.onSuccess) {
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import axios from "../../../config/axios";
|
||||
import {
|
||||
import type {
|
||||
CreateCategoryLearningType,
|
||||
CreateLearningType,
|
||||
} from "../types/LearningTypes";
|
||||
|
||||
Reference in New Issue
Block a user