-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(setting_page): improved more on setting page
- Loading branch information
1 parent
5f6256f
commit 0416f1f
Showing
7 changed files
with
39 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import React from "react"; | ||
import { toastInfo } from "../../services/toast"; | ||
|
||
const DeleteProfile = () => { | ||
const deleteUser = (e) => { | ||
e.preventDefault(); | ||
toastInfo("Sorry!! this feature is not available right now"); | ||
}; | ||
return ( | ||
<> | ||
<div className="Setting_Page_Delete_User_Profile_Container"> | ||
<h1>Delete User Profile</h1> | ||
<p> | ||
NOTE : You can be able to recover after you delete your user profile | ||
</p> | ||
<button onClick={deleteUser}>Delete Profile</button> | ||
</div> | ||
</> | ||
); | ||
}; | ||
|
||
export default DeleteProfile; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters