mirror of
https://github.com/lordmathis/lemma.git
synced 2025-11-08 00:44:22 +00:00
Migrating from services to dedicated API files
This commit is contained in:
@@ -6,7 +6,7 @@ import React, {
|
||||
useEffect,
|
||||
} from 'react';
|
||||
import { notifications } from '@mantine/notifications';
|
||||
import * as authApi from '../services/authApi';
|
||||
import * as authApi from '../api/auth';
|
||||
|
||||
const AuthContext = createContext(null);
|
||||
|
||||
|
||||
@@ -14,7 +14,7 @@ import {
|
||||
updateLastWorkspaceName,
|
||||
deleteWorkspace,
|
||||
listWorkspaces,
|
||||
} from '../services/api';
|
||||
} from '../api/notes';
|
||||
import { DEFAULT_WORKSPACE_SETTINGS } from '../utils/constants';
|
||||
|
||||
const WorkspaceContext = createContext();
|
||||
|
||||
Reference in New Issue
Block a user