mirror of
https://github.com/lemeow125/React-NotesApp.git
synced 2025-05-17 03:48:10 +08:00
Polished states for logged_in and logged_in_user
This commit is contained in:
parent
9ccb8624af
commit
963ee6e830
7 changed files with 28 additions and 30 deletions
|
@ -1,18 +1,3 @@
|
|||
// Redux Interfaces
|
||||
export interface LoginState {
|
||||
Login: { logged_in: boolean };
|
||||
}
|
||||
|
||||
export interface LoggedInUserState {
|
||||
LoggedInUser: {
|
||||
value: {
|
||||
email: string;
|
||||
id: number;
|
||||
username: string;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
// Component Props Interfaces
|
||||
|
||||
export interface NoteProps {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue