feat(midsummer): WebAudio Sma grodorna jingle, plays once on first gesture
This commit is contained in:
parent
e896ef1f21
commit
3cd2165c15
3 changed files with 68 additions and 2 deletions
|
|
@ -7,6 +7,7 @@ import { WindowRenderer } from '../windows/WindowRenderer';
|
|||
import { RareNotification } from '../effects/RareNotification';
|
||||
import { DeathNotification } from '../effects/DeathNotification';
|
||||
import { usePlayerColors } from '../../hooks/usePlayerColors';
|
||||
import { useMidsummerSound } from '../../hooks/useMidsummerSound';
|
||||
import { MidsummerBanner } from '../midsummer/MidsummerBanner';
|
||||
import type { DashboardState } from '../../hooks/useLiveData';
|
||||
|
||||
|
|
@ -16,6 +17,7 @@ interface Props {
|
|||
|
||||
export const MapLayout: React.FC<Props> = ({ data }) => {
|
||||
const getColor = usePlayerColors();
|
||||
useMidsummerSound();
|
||||
const [showHeatmap, setShowHeatmap] = useState(false);
|
||||
const [showPortals, setShowPortals] = useState(false);
|
||||
const [selectedPlayer, setSelectedPlayer] = useState<string | null>(null);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue