Skip to content

Commit

Permalink
✨ feat: Add placeholder for updateUser future functionality
Browse files Browse the repository at this point in the history
A comment was added to the `updateUser` function in the `AppWriteProvider.tsx` file to indicate that it is a placeholder for future functionality. This prepares the codebase for upcoming changes and clarifies the current state of the function.
  • Loading branch information
Gincioks committed May 6, 2024
1 parent bc4e82e commit bd23aad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/AppWriteProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export type AppWriteContextType = {
signIn: (email: string, password: string) => Promise<Models.Session>;
signOut: () => Promise<void>;
userRefresh: () => Promise<void>;
updateUser: (newUser: Models.Document) => Promise<void>;
updateUser: (newUser: Models.Document) => Promise<void>; // Placeholder for future functionality
isAuthenticated: boolean;
user: Models.Document | undefined;
isAuthenticationLoading: boolean;
Expand Down

0 comments on commit bd23aad

Please sign in to comment.