correct name article instead of user for ArticleModel

This commit is contained in:
2025-11-19 23:45:25 +05:30
parent cff57f0980
commit fcc3ec16f9

View File

@@ -5,8 +5,8 @@ export interface ArticleContextModel {
loading: boolean; loading: boolean;
error: string | null; error: string | null;
refreshArticles: () => Promise<void>; refreshArticles: () => Promise<void>;
updateArticle: (user: ArticleModel) => Promise<ArticleModel | void>; updateArticle: (article: ArticleModel) => Promise<ArticleModel | void>;
createArticle: (user: ArticleModel) => Promise<ArticleModel | void>; createArticle: (article: ArticleModel) => Promise<ArticleModel | void>;
} }
export interface AuthContextModel { export interface AuthContextModel {