React/Redux - publish component #323

Merged
bones7242 merged 80 commits from react-upload into master 2018-01-25 22:43:20 +01:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 0ca0a7222a - Show all commits

View file

@ -1,6 +1,6 @@
import React from 'react'; import React from 'react';
function Logo ({ channelName, handleSelection, VIEW, LOGOUT }) { function NavBarChannelOptionsDropdown ({ channelName, handleSelection, VIEW, LOGOUT }) {
return ( return (
<select type="text" id="nav-bar-channel-select" className="select select--arrow link--nav" onChange={handleSelection}> <select type="text" id="nav-bar-channel-select" className="select select--arrow link--nav" onChange={handleSelection}>
<option id="nav-bar-channel-select-channel-option">{channelName}</option> <option id="nav-bar-channel-select-channel-option">{channelName}</option>
@ -10,4 +10,4 @@ function Logo ({ channelName, handleSelection, VIEW, LOGOUT }) {
); );
}; };
export default Logo; export default NavBarChannelOptionsDropdown;

View file

@ -1,7 +1,7 @@
import React from 'react'; import React from 'react';
import { authenticateUser } from 'utils/auth'; import { authenticateUser } from 'utils/auth';
import Logo from 'components/Logo'; import Logo from 'components/Logo';
import NavBarChannelDropdown from 'components/NavBarChannelDropdown'; import NavBarChannelDropdown from 'components/NavBarChannelOptionsDropdown';
const VIEW = 'VIEW'; const VIEW = 'VIEW';
const LOGOUT = 'LOGOUT'; const LOGOUT = 'LOGOUT';