diff options
author | Vitaly Takmazov | 2023-10-08 15:21:04 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2023-10-08 15:21:04 +0300 |
commit | e8744a1620d7761cf721f1cc21562ad2c6ec8e5c (patch) | |
tree | 9ec836ee488096d0d8b7bbf602226dd90bc0bbb3 /vnext/src/ui | |
parent | bb014265ab1a2d31646097cd38cd620c913a1e06 (diff) |
vnext: react-helmet -> react-helmet-async
Diffstat (limited to 'vnext/src/ui')
-rw-r--r-- | vnext/src/ui/Chat.js | 2 | ||||
-rw-r--r-- | vnext/src/ui/Contacts.js | 2 | ||||
-rw-r--r-- | vnext/src/ui/Feeds.js | 2 | ||||
-rw-r--r-- | vnext/src/ui/Post.js | 2 | ||||
-rw-r--r-- | vnext/src/ui/Settings.js | 2 | ||||
-rw-r--r-- | vnext/src/ui/Thread.js | 2 | ||||
-rw-r--r-- | vnext/src/ui/Users.js | 2 |
7 files changed, 7 insertions, 7 deletions
diff --git a/vnext/src/ui/Chat.js b/vnext/src/ui/Chat.js index 55b89d09..4556848c 100644 --- a/vnext/src/ui/Chat.js +++ b/vnext/src/ui/Chat.js @@ -11,7 +11,7 @@ import UserInfo from './UserInfo' import { getChat, pm } from '../api' import { useVisitor } from './VisitorContext' -import { Helmet } from 'react-helmet' +import { Helmet } from 'react-helmet-async' /** * diff --git a/vnext/src/ui/Contacts.js b/vnext/src/ui/Contacts.js index 1c23f042..8a67961c 100644 --- a/vnext/src/ui/Contacts.js +++ b/vnext/src/ui/Contacts.js @@ -1,5 +1,5 @@ import { useEffect, useState } from 'react' -import { Helmet } from 'react-helmet' +import { Helmet } from 'react-helmet-async' import { getChats } from '../api' diff --git a/vnext/src/ui/Feeds.js b/vnext/src/ui/Feeds.js index 086a910e..bb386e5a 100644 --- a/vnext/src/ui/Feeds.js +++ b/vnext/src/ui/Feeds.js @@ -12,7 +12,7 @@ import UserInfo from './UserInfo' import { getMessages } from '../api' import { useVisitor } from './VisitorContext' -import { Helmet } from 'react-helmet' +import { Helmet } from 'react-helmet-async' /** * @typedef {object} Query diff --git a/vnext/src/ui/Post.js b/vnext/src/ui/Post.js index 6f7d1e93..ed333236 100644 --- a/vnext/src/ui/Post.js +++ b/vnext/src/ui/Post.js @@ -6,7 +6,7 @@ import MessageInput from './MessageInput' import { post, update } from '../api' import { useVisitor } from './VisitorContext' -import { Helmet } from 'react-helmet' +import { Helmet } from 'react-helmet-async' /** * diff --git a/vnext/src/ui/Settings.js b/vnext/src/ui/Settings.js index 1205cd49..82a84be9 100644 --- a/vnext/src/ui/Settings.js +++ b/vnext/src/ui/Settings.js @@ -7,7 +7,7 @@ import Icon from './Icon' import UploadButton from './UploadButton' import Avatar from './Avatar' import { useVisitor } from './VisitorContext' -import { Helmet } from 'react-helmet' +import { Helmet } from 'react-helmet-async' /** * @param {{ onChange: Function }} props diff --git a/vnext/src/ui/Thread.js b/vnext/src/ui/Thread.js index b727b73d..61474153 100644 --- a/vnext/src/ui/Thread.js +++ b/vnext/src/ui/Thread.js @@ -8,7 +8,7 @@ import Spinner from './Spinner' import { getMessages, comment, update, post } from '../api' import { useVisitor } from './VisitorContext' -import { Helmet } from 'react-helmet' +import { Helmet } from 'react-helmet-async' /** * @type { import('../api').Message } */ diff --git a/vnext/src/ui/Users.js b/vnext/src/ui/Users.js index e4fcba1f..0ab9e44b 100644 --- a/vnext/src/ui/Users.js +++ b/vnext/src/ui/Users.js @@ -3,7 +3,7 @@ import { useParams } from 'react-router-dom' import UserInfo from './UserInfo' import Avatar from './Avatar' -import { Helmet } from 'react-helmet' +import { Helmet } from 'react-helmet-async' /** * Friends feed |