|
@@ -26,6 +26,7 @@ const Widget = () => {
|
|
|
useEffect(() => {
|
|
useEffect(() => {
|
|
|
get<IApiResponseChannel>(`/v2/channel/${channelId}`).then((json) => {
|
|
get<IApiResponseChannel>(`/v2/channel/${channelId}`).then((json) => {
|
|
|
setTitle(json.data.name);
|
|
setTitle(json.data.name);
|
|
|
|
|
+ document.title = `${json.data.name}`;
|
|
|
});
|
|
});
|
|
|
}, [channelId]);
|
|
}, [channelId]);
|
|
|
return (
|
|
return (
|