Created the Home utils.js
This commit is contained in:
5
admin/src/pages/Home/utils.js
Normal file
5
admin/src/pages/Home/utils.js
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
import md5 from "md5";
|
||||||
|
|
||||||
|
export const createGravatarUrl = (email) => {
|
||||||
|
return `https://www.gravatar.com/avatar/${md5(email, {encoding: "binary"})}?d=retro`;
|
||||||
|
}
|
Reference in New Issue
Block a user