Reduce scope of libraries.

This commit is contained in:
Matthew Stratford 2021-01-28 20:15:57 +00:00
parent dc4c90c223
commit 5dac53fb08

View file

@ -39,8 +39,14 @@ type searchingStateEnum =
export function LibraryColumn() {
const [sauce, setSauce] = useState("None");
const dispatch = useDispatch();
const { auxPlaylists, managedPlaylists, userPlaylists } = useSelector(
(state: RootState) => state.showplan
const auxPlaylists = useSelector(
(state: RootState) => state.showplan.auxPlaylists
);
const managedPlaylists = useSelector(
(state: RootState) => state.showplan.managedPlaylists
);
const userPlaylists = useSelector(
(state: RootState) => state.showplan.userPlaylists
);
const [autoPlayoutModal, setAutoPlayoutModal] = useState(false);