Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DN-4: Export the user obj.
Browse files Browse the repository at this point in the history
dereckmezquita committed Jul 15, 2024
1 parent 980d19c commit bcda13e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion client/src/context/AuthContext.tsx
Original file line number Diff line number Diff line change
@@ -3,7 +3,8 @@
import React, { createContext, useState, useEffect, useContext } from 'react';
import { api } from '@components/utils/api/api';

interface User {
// TODO: we should have shared interfaces between client and server
export interface User {
id: string;
firstName: string;
lastName: string;

0 comments on commit bcda13e

Please sign in to comment.