18834: Unit tests added
[arvados-workbench2.git] / src / views-components / context-menu / actions / favorite-action.tsx
index 06e3b5efedf1540804a42afd63c161075d9efe86..b7e7dd62464c30204efd982973e1fca2caca27c9 100644 (file)
@@ -2,11 +2,11 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-import * as React from "react";
+import React from "react";
 import { ListItemIcon, ListItemText, ListItem } from "@material-ui/core";
-import { AddFavoriteIcon, RemoveFavoriteIcon } from "../../../components/icon/icon";
+import { AddFavoriteIcon, RemoveFavoriteIcon } from "components/icon/icon";
 import { connect } from "react-redux";
-import { RootState } from "../../../store/store";
+import { RootState } from "store/store";
 
 const mapStateToProps = (state: RootState, props: { onClick: () => {} }) => ({
     isFavorite: state.contextMenu.resource !== undefined && state.favorites[state.contextMenu.resource.uuid] === true,