refactor: create separate shared store for auth token and refresh action
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import { http, HttpResponse } from "msw";
|
||||
import type { AuthData } from "../../../model/types/service";
|
||||
import { BASE_URL } from "shared/config";
|
||||
import { BASE_URL, MOCK_TOKEN } from "shared/api";
|
||||
import { REGISTER_API_ROUTE } from "./register";
|
||||
import { MOCK_EMAIL, MOCK_TOKEN } from "../mocks";
|
||||
import { MOCK_EMAIL } from "../mocks";
|
||||
|
||||
const REGISTER_URL = `${BASE_URL}/${REGISTER_API_ROUTE}`;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user