17101: Use redux router instead of setting window.location.href
[arvados.git] / src / views-components / sharing-dialog / sharing-management-form.tsx
1 // Copyright (C) The Arvados Authors. All rights reserved.
2 //
3 // SPDX-License-Identifier: AGPL-3.0
4
5 import { reduxForm } from 'redux-form';
6 import SharingManagementFormComponent from './sharing-management-form-component';
7 import { SHARING_MANAGEMENT_FORM_NAME } from '~/store/sharing-dialog/sharing-dialog-types';
8
9 export const SharingManagementForm = reduxForm(
10     { form: SHARING_MANAGEMENT_FORM_NAME }
11 )(SharingManagementFormComponent);