Skip to content

Commit 8cdd2b9

Browse files
Gopal SharmaGopal Sharma
authored andcommitted
Added react helmet
1 parent 2e69aa8 commit 8cdd2b9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/Player.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import {useState} from "react";
2+
import {Helmet} from "react-helmet";
23

34
import('./Player.css');
45

@@ -33,6 +34,10 @@ export default function Player({
3334
<div className='player' style={{
3435
zIndex: 999999
3536
}}>
37+
<Helmet titleTemplate="%s - Lofi Radio">
38+
<meta charSet="utf-8" />
39+
<title>{`${currentVideoData.title}`}</title>
40+
</Helmet>
3641
<div className='player_inner'>
3742
<div className='player_inner__top'>
3843
<div className='t_left'>

0 commit comments

Comments
 (0)