More work on Shares

This commit is contained in:
Deluan
2023-01-20 19:53:53 -05:00
parent ab04e33da6
commit 84aa094e56
19 changed files with 150 additions and 167 deletions
+2 -2
View File
@@ -36,7 +36,7 @@ import config, { shareInfo } from './config'
import { setDispatch, startEventStream, stopEventStream } from './eventStream'
import { keyMap } from './hotkeys'
import useChangeThemeColor from './useChangeThemeColor'
import ShareApp from './ShareApp'
import SharePlayer from './SharePlayer'
const history = createHashHistory()
@@ -141,7 +141,7 @@ const Admin = (props) => {
const AppWithHotkeys = () => {
if (config.devEnableShare && shareInfo) {
return <ShareApp />
return <SharePlayer />
}
return (
<HotKeys keyMap={keyMap}>