Add typescript paths to top level folders
[arvados-workbench2.git] / src / views-components / favorite-star / favorite-star.tsx
index f896e304999380412326cd1f01f1ebf78d52edb3..755cc67c265b52e0b80c12b04561f6b081bb989a 100644 (file)
@@ -3,9 +3,9 @@
 // SPDX-License-Identifier: AGPL-3.0
 
 import * as React from "react";
-import { FavoriteIcon } from "../../components/icon/icon";
+import { FavoriteIcon } from "~/components/icon/icon";
 import { connect } from "react-redux";
-import { RootState } from "../../store/store";
+import { RootState } from "~/store/store";
 import { withStyles, StyleRulesCallback, WithStyles } from "@material-ui/core";
 
 type CssRules = "icon";
@@ -24,4 +24,4 @@ const mapStateToProps = (state: RootState, props: { resourceUuid: string; classN
 export const FavoriteStar = connect(mapStateToProps)(
     withStyles(styles)((props: { visible: boolean; className?: string; } & WithStyles<CssRules>) =>
         props.visible ? <FavoriteIcon className={props.className || props.classes.icon} /> : null
-    ));
\ No newline at end of file
+    ));