Antonio-Maranhao commented on a change in pull request #1135: Update
documents/designdocinfo to use redux
URL: https://github.com/apache/couchdb-fauxton/pull/1135#discussion_r223863414
##########
File path: app/addons/documents/layouts.js
##########
@@ -47,13 +47,16 @@ export const TabsSidebarHeader = ({
onGlobalModeSelected,
globalMode
}) => {
- const partKeySelector = (<PartitionKeySelectorContainer
- databaseName={dbName}
- partitionKey={partitionKey}
- onPartitionKeySelected={onPartitionKeySelected}
- onGlobalModeSelected={onGlobalModeSelected}
- globalMode={globalMode}/>
- );
+ let partKeySelector = null;
Review comment:
Not related to the redux refactoring.
Just a small fix to prevent React warnings that some props are not set.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services