Ajout des fichiers de l'application
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
import { User } from "@/utils/types/models";
|
||||
|
||||
export const showDeleteCommentButton = (commentAuthorUsername: string, currentUser?: User) => {
|
||||
return commentAuthorUsername === currentUser?.username;
|
||||
};
|
||||
Reference in New Issue
Block a user