Merge branch '17018-readonly-file-actions-fix'
[arvados-workbench2.git] / src / views / link-panel / link-panel.tsx
index 2c3bf758850cc30412ba10c42a5dc854f6df7f06..4bff4ee7c6be609cba72092cb0a2d43c153e5685 100644 (file)
@@ -6,16 +6,16 @@ import { Dispatch } from "redux";
 import { connect } from "react-redux";
 import { RootState } from '~/store/store';
 import { openContextMenu, resourceKindToContextMenuKind } from '~/store/context-menu/context-menu-actions';
-import { LinkPanelRoot, LinkPanelActionProps } from '~/views/link-panel/link-panel-root';
+import { LinkPanelRoot, LinkPanelRootActionProps, LinkPanelRootDataProps } from '~/views/link-panel/link-panel-root';
 import { ResourceKind } from '~/models/resource';
 
-const mapStateToProps = (state: RootState) => {
+const mapStateToProps = (state: RootState): LinkPanelRootDataProps => {
     return {
         resources: state.resources
     };
 };
 
-const mapDispatchToProps = (dispatch: Dispatch): LinkPanelActionProps => ({
+const mapDispatchToProps = (dispatch: Dispatch): LinkPanelRootActionProps => ({
     onContextMenu: (event, resourceUuid) => {
         const kind = resourceKindToContextMenuKind(resourceUuid);
         if (kind) {