correct name article instead of user for ArticleModel
This commit is contained in:
@@ -5,8 +5,8 @@ export interface ArticleContextModel {
|
||||
loading: boolean;
|
||||
error: string | null;
|
||||
refreshArticles: () => Promise<void>;
|
||||
updateArticle: (user: ArticleModel) => Promise<ArticleModel | void>;
|
||||
createArticle: (user: ArticleModel) => Promise<ArticleModel | void>;
|
||||
updateArticle: (article: ArticleModel) => Promise<ArticleModel | void>;
|
||||
createArticle: (article: ArticleModel) => Promise<ArticleModel | void>;
|
||||
}
|
||||
|
||||
export interface AuthContextModel {
|
||||
|
||||
Reference in New Issue
Block a user