From 8873b1e04a509b6c85f6ae2417f25dbcee5957ee Mon Sep 17 00:00:00 2001 From: Zain Fathoni Date: Sat, 17 Jul 2021 10:26:22 +0800 Subject: [PATCH 01/15] Rename DatabasePage into ProvincesPage --- pages/database/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/database/index.tsx b/pages/database/index.tsx index e889e2793..0bbbc9880 100644 --- a/pages/database/index.tsx +++ b/pages/database/index.tsx @@ -16,7 +16,7 @@ type DatabasePageProps = { provinces: ProvinceListItem[]; }; -export default function DatabasePage(props: DatabasePageProps) { +export default function ProvincesPage(props: DatabasePageProps) { return (

From a13ba04144c332de21db98b710f95a0447a88e6c Mon Sep 17 00:00:00 2001 From: Zain Fathoni Date: Sat, 17 Jul 2021 10:29:43 +0800 Subject: [PATCH 02/15] Rename the `database` path into `provinces` --- components/contact-list.tsx | 2 +- pages/{database => provinces}/[provinceSlug]/[contactSlug].tsx | 0 pages/{database => provinces}/[provinceSlug]/index.tsx | 0 pages/{database => provinces}/index.tsx | 2 +- 4 files changed, 2 insertions(+), 2 deletions(-) rename pages/{database => provinces}/[provinceSlug]/[contactSlug].tsx (100%) rename pages/{database => provinces}/[provinceSlug]/index.tsx (100%) rename pages/{database => provinces}/index.tsx (97%) diff --git a/components/contact-list.tsx b/components/contact-list.tsx index 04072ec0c..918a69a9c 100644 --- a/components/contact-list.tsx +++ b/components/contact-list.tsx @@ -19,7 +19,7 @@ export function ContactList(props: ContactListProps) {