This commit is contained in:
E
2021-03-10 20:04:18 -07:00
parent b2cc6f4723
commit 1499ee5736
23 changed files with 50 additions and 56 deletions
+1 -2
View File
@@ -1,5 +1,5 @@
import React, { useEffect, useState } from 'react'
import { Card, message, Modal, PageHeader, Row, Spin, Typography } from 'antd'
import { Card, Modal, Row, Spin, Typography } from 'antd'
import { getSession } from '../api'
type Props = {
@@ -9,7 +9,6 @@ type Props = {
export const SessionPictures = ({ clientId }: Props) => {
const [urls, setUrls] = useState<string[] | null>(null)
const [activeUrl, setActiveUrl] = useState<string | null>(null)
const [loading, setLoading] = useState(true)
useEffect(() => {
const get = async () => {