We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa9c688 commit 5a1ca08Copy full SHA for 5a1ca08
tutorials/address-book/app/data.ts
@@ -311,6 +311,9 @@ export async function deleteContact(id: string) {
311
].forEach((contact) => {
312
fakeContacts.create({
313
...contact,
314
- id: `${contact.first.toLowerCase().split(' ').join('_')}-${contact.last.toLocaleLowerCase()}`,
+ id: `${contact.first
315
+ .toLowerCase()
316
+ .split(" ")
317
+ .join("_")}-${contact.last.toLocaleLowerCase()}`,
318
});
319
0 commit comments