From 75036d47e3b4b5895d4e1f5f74e646dcbb02cc02 Mon Sep 17 00:00:00 2001 From: Chris Banh Date: Wed, 12 Jan 2022 16:43:51 -0800 Subject: [PATCH 1/2] Updates type declaration for RouteProps in API docs --- docs/api.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/api.md b/docs/api.md index 056850b49c..547814998c 100644 --- a/docs/api.md +++ b/docs/api.md @@ -691,7 +691,7 @@ declare function Route( interface RouteProps { caseSensitive?: boolean; children?: React.ReactNode; - element?: React.ReactElement | null; + element?: React.ReactNode | null; index?: boolean; path?: string; } From 3d5dc1c29655d841cb4eb329612ba8cbcb14a562 Mon Sep 17 00:00:00 2001 From: Chris Banh Date: Wed, 12 Jan 2022 16:52:44 -0800 Subject: [PATCH 2/2] Adds chrisngobanh to contributors.yml --- contributors.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/contributors.yml b/contributors.yml index 70d633a861..acd33809f3 100644 --- a/contributors.yml +++ b/contributors.yml @@ -1,6 +1,7 @@ - Ajayff4 - brockross - chaance +- chrisngobanh - elylucas - hongji00 - JakubDrozd