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';
function Logo ({ channelName, handleSelection, VIEW, LOGOUT }) {
function NavBarChannelOptionsDropdown ({ channelName, handleSelection, VIEW, LOGOUT }) {
return (
<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>
@ -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 { authenticateUser } from 'utils/auth';
import Logo from 'components/Logo';
import NavBarChannelDropdown from 'components/NavBarChannelDropdown';
import NavBarChannelDropdown from 'components/NavBarChannelOptionsDropdown';
const VIEW = 'VIEW';
const LOGOUT = 'LOGOUT';