fix: 그리드 버튼 수정, 환경변수 수정

- 그리드 버튼 클릭 후 팝오버 사라지게 함
- 환경변수에 port 기본값 삭제
This commit is contained in:
shinmj
2021-12-29 14:13:16 +09:00
parent 9123b92e92
commit bffcc1b31b
3 changed files with 8 additions and 8 deletions

View File

@@ -1,10 +1,9 @@
import React, { useState } from 'react'
import { createStyles, makeStyles, Theme } from '@material-ui/core/styles'
import Box from '@material-ui/core/Box'
import { Button } from '@material-ui/core'
import { useTranslation } from 'react-i18next'
import { ConfirmPopover } from '@components/Confirm'
import { Button } from '@material-ui/core'
import Box from '@material-ui/core/Box'
import { createStyles, makeStyles, Theme } from '@material-ui/core/styles'
import React, { useState } from 'react'
import { useTranslation } from 'react-i18next'
const useStyles = makeStyles((theme: Theme) =>
createStyles({
@@ -38,6 +37,7 @@ const GridButtons: React.FC<IGridButtonProps> = ({
const onClickDelete = async (event: React.MouseEvent<HTMLButtonElement>) => {
event.preventDefault()
handleDelete(id)
setAnchorEl(null)
}
const handlePopover = (target: HTMLButtonElement | null) => {