Simplified code

This commit is contained in:
Koper
2023-12-06 21:02:23 +07:00
parent 6f48aa8835
commit e17bc4c708
2 changed files with 3 additions and 24 deletions

View File

@@ -1,25 +1,12 @@
import React, { useState, useEffect } from "react";
import SelectSearch from "react-select-search";
import {
getZulipMessage,
sendZulipMessage,
ZULIP_MSG_MAX_LENGTH,
} from "../../../lib/zulip";
import { Transcript } from "../webSocketTypes";
import {
GetTranscript,
GetTranscriptSegmentTopic,
GetTranscriptTopic,
} from "../../../api";
import { getZulipMessage, sendZulipMessage } from "../../../lib/zulip";
import { GetTranscript, GetTranscriptTopic } from "../../../api";
import "react-select-search/style.css";
type ShareModal = {
show: boolean;
setShow: (show: boolean) => void;
title: string;
url: string;
summary: string;
date: string;
transcript: GetTranscript | null;
topics: GetTranscriptTopic[] | null;
};