-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Bug fix: 1: Try to add same name and resolve the error in the c…
…onsole
- Loading branch information
1 parent
1e00145
commit f38810b
Showing
5 changed files
with
13 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,17 @@ | ||
import React, { useState } from "react"; | ||
import uniqueId from "lodash/uniqueId"; | ||
import ContactList from "./components/contact-list"; | ||
import AddContact from "./components/add-contact"; | ||
|
||
const INITIAL_CONTACTS = [ | ||
{ | ||
id: uniqueId(), | ||
name: "Vennila", | ||
phone: "+372 5993789", | ||
email: "[email protected]", | ||
}, | ||
{ | ||
id: uniqueId(), | ||
name: "Afrin", | ||
phone: "+372 5663421", | ||
email: "[email protected]", | ||
|
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