diff --git a/frontend/src/components/ui/dialog.tsx b/frontend/src/components/ui/dialog.tsx index f38593b..c76091a 100644 --- a/frontend/src/components/ui/dialog.tsx +++ b/frontend/src/components/ui/dialog.tsx @@ -38,14 +38,23 @@ const DialogContent = React.forwardRef< {children} - - + + Close diff --git a/frontend/src/components/ui/toaster.tsx b/frontend/src/components/ui/toaster.tsx index fe7103d..b6147e4 100644 --- a/frontend/src/components/ui/toaster.tsx +++ b/frontend/src/components/ui/toaster.tsx @@ -1,34 +1,30 @@ -"use client" +'use client' -import { useToast } from "@/components/ui/use-toast" -import { - Toast, - ToastClose, - ToastDescription, - ToastProvider, - ToastTitle, - ToastViewport, -} from "@/components/ui/toast" +import { useToast } from '@/components/ui/use-toast' +import { Toast, + ToastClose, + ToastDescription, + ToastProvider, + ToastTitle, + ToastViewport } from '@/components/ui/toast' -export function Toaster() { - const { toasts } = useToast() + +export const Toaster = () => { + const { toasts } = useToast () return ( - {toasts.map(function ({ id, title, description, action, ...props }) { - return ( - - - {title && {title}} - {description && ( - {description} - )} - - {action} - - - ) - })} + {toasts.map (({ id, title, description, action, ...props }) => ( + + + {title && {title}} + {description && {description}} + + {action} + + ))} ) diff --git a/frontend/src/components/users/InheritDialogue.tsx b/frontend/src/components/users/InheritDialogue.tsx index c266fb8..26141bf 100644 --- a/frontend/src/components/users/InheritDialogue.tsx +++ b/frontend/src/components/users/InheritDialogue.tsx @@ -46,8 +46,8 @@ export default ({ visible, onVisibleChange, setUser }: Props) => { return ( - - ほかのブラウザから引継ぐ + + ほかのブラウザから引継ぐ { return ( - - 引継ぎコード + + 引継ぎコード あなたの引継ぎコードはこちらです: {user?.inheritanceCode}
あなたの引継ぎコードはこちらです: