Skip to content

Commit

Permalink
[Peertube] fixes editor redirection (#2515)
Browse files Browse the repository at this point in the history
* Video editor redirection

* pr review
  • Loading branch information
WolfyWin authored Jun 12, 2023
1 parent b0d9aa6 commit 61a878f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import {connect} from 'react-redux'

import {selectors as toolSelectors} from '#/main/core/tool/store/selectors'
import {selectors as resourceSelectors} from '#/main/core/resource/store'

import {VideoEditor as VideoEditorComponent} from '#/integration/peertube/resources/video/components/editor'
import {selectors} from '#/integration/peertube/resources/video/store'

const VideoEditor = connect(
(state) => ({
path: toolSelectors.path(state),
path: resourceSelectors.path(state),
video: selectors.video(state)
})
)(VideoEditorComponent)
Expand Down

0 comments on commit 61a878f

Please sign in to comment.