types import error fixed
This commit is contained in:
1 parent
c6e602d354
commit
cb2355adcd
8 files changed
+39
-8
No files matched your search
@@ -1,7 +1,8 @@
|
||||
/* eslint-disable react-refresh/only-export-components */
|
||||
import React, { createContext, useContext, useState, useEffect, ReactNode } from 'react';
|
||||
import { createContext, useContext, useState, useEffect } from 'react';
|
||||
import type { ReactNode } from 'react';
|
||||
import * as api from '../lib/api';
|
||||
import { User } from '@/types';
|
||||
import type { User } from '@/types';
|
||||
|
||||
interface AuthContextType {
|
||||
user: User | null;
|
||||
|
||||
Reference in new issue
Block a user