Moved all reducers and actions to their own folders
This commit is contained in:
@@ -15,7 +15,7 @@ import { useLogin, useNotify, useTranslate } from 'react-admin'
|
||||
import Notification from './Notification'
|
||||
import LightTheme from '../themes/light'
|
||||
import config from '../config'
|
||||
import { clearQueue } from '../audioplayer'
|
||||
import { clearQueue } from '../actions'
|
||||
|
||||
const useStyles = makeStyles((theme) => ({
|
||||
main: {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import React, { useCallback } from 'react'
|
||||
import { useDispatch } from 'react-redux'
|
||||
import { Logout } from 'react-admin'
|
||||
import { clearQueue } from '../audioplayer'
|
||||
import { clearQueue } from '../actions'
|
||||
|
||||
export default (props) => {
|
||||
const dispatch = useDispatch()
|
||||
|
||||
Reference in New Issue
Block a user