Update url prop handling for pages with new data methods (#10653)
* Make sure to show error when url prop is returned for a page * Update test and handle undefined pageProps * Handle empty props * Apply suggestions from code review Co-Authored-By:Tim Neutkens <tim@timneutkens.nl> * Update tests * Update to not add url prop for SSG/SSP pages * Update errsh for reserved prop * Update errsh wording some more * Update tests and to warn instead of error * Update reserved prop warning * Include page in url prop warning Co-authored-by:
Tim Neutkens <tim@timneutkens.nl> Co-authored-by:
Joe Haddad <timer150@gmail.com>
Showing
errors/reserved-page-prop.md
0 → 100644
Please
register
or
sign in
to comment