Commit graph

5 commits

Author SHA1 Message Date
4ddaa0d8ec cleanup: defaultProps -> JS default params on our function components
React 19 drops defaultProps on function components. Converted the 9 of
ours that used it (App, Navigation, ReSendEmail, Reconnect, OAuthLoginButton,
PageHeader, Page, EditDocument, EditSubscription) to destructured default
params; App defaults userId/emailAddress in its withTracker instead (it
spreads {...props} widely). Class components keep defaultProps (still
supported). The only defaultProps warnings left are from the react-share
npm package (CreatedButton/Icon), not our code. REST smoke byte-identical.
2026-07-21 13:54:02 +02:00
vjrj
311b4ee1f3 Removed createContainer 2018-02-07 16:37:26 +01:00
cleverbeagle
11ba0bafaa - Fix PropTypes warning on EditDocument.js when failing to pass a doc prop.
- Improve 404 handling on EditDocument.js and ViewDocument.js when no doc prop is passed.
2017-07-31 09:39:21 -05:00
cleverbeagle
3459bf26f8 wip wiring up account forms 2017-05-25 16:31:01 -05:00
cleverbeagle
cdc15f019d wip Pup 1.0.0 2017-05-23 20:05:46 -05:00