diff --git a/client/src/pages/messaging/index.tsx b/client/src/pages/messaging/index.tsx index 34afc8e..a3ff914 100644 --- a/client/src/pages/messaging/index.tsx +++ b/client/src/pages/messaging/index.tsx @@ -10,7 +10,7 @@ import LinkSharingInstruction from '../../components/Messaging/LinkSharingInstru import Notification from '../../components/Notification'; import notificationAudio from '../../components/Notification/audio.mp3'; import { ThemeContext } from '../../ThemeContext'; -import { LS, SS } from '../../utils/storage'; +import { SS } from '../../utils/storage'; import { getKeyPairFromCache, getUserSessionID, isEmptyMessage, storeKeyPair, storeUserSessionID } from './helpers'; diff --git a/service/src/getChatLink.ts b/service/src/getChatLink.ts index 755727a..28e84a1 100644 --- a/service/src/getChatLink.ts +++ b/service/src/getChatLink.ts @@ -1,6 +1,6 @@ import makeRequest from './makeRequest'; -const getChatLink = async (pin) => { +const getChatLink = async (pin: string) => { return makeRequest(`chat-link/${pin}`, { method: 'GET' });