From 0b1684442b3086aebe95ab40ce5af23407223227 Mon Sep 17 00:00:00 2001 From: Daniel Date: Sun, 21 May 2023 00:16:15 +0330 Subject: [PATCH] small change --- components/Modal/UserSettings.tsx | 5 +++ package.json | 2 +- pages/api/routes/users/index.ts | 5 +++ yarn.lock | 65 +++++++++++++++++-------------- 4 files changed, 47 insertions(+), 30 deletions(-) diff --git a/components/Modal/UserSettings.tsx b/components/Modal/UserSettings.tsx index 323ea77..a7310ab 100644 --- a/components/Modal/UserSettings.tsx +++ b/components/Modal/UserSettings.tsx @@ -67,6 +67,11 @@ export default function UserSettings({ toggleSettingsModal }: Props) {

Email

+ {user.email !== initialUser.email ? ( +

+ Please log back in if you change the Email. +

+ ) : null}