Skip to content

Commit

Permalink
Change button border width
Browse files Browse the repository at this point in the history
 (#92)
  • Loading branch information
kimurash committed Nov 4, 2024
1 parent 75a6253 commit f18e7a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions frontend/app/components/book-detail/BookDetailEditButton.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Button } from '@mantine/core';
import { useLocation, useNavigate } from '@remix-run/react';
import { MdEdit } from 'react-icons/md';
import { Button } from '@mantine/core';
import { RiArrowGoBackLine } from 'react-icons/ri';

interface BookDetailEditButtonProps {
Expand All @@ -17,7 +17,7 @@ const BookDetailEditButton = ({ bookId }: BookDetailEditButtonProps) => {
leftSection={<RiArrowGoBackLine />}
variant="light"
fz="lg"
bd="solid 1px"
bd="solid 2px"
onClick={() => navigate(`/home/books/${bookId}`)}
>
キャンセル
Expand Down
4 changes: 2 additions & 2 deletions frontend/app/components/books/BookSelectedDialog.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Button, Center, Dialog, Stack, Text } from '@mantine/core';
import { useAtom } from 'jotai';
import { selectedBooksAtom } from '~/stores/cartAtom';
import { selectedBooksAtom } from '~/stores/bookAtom';

const BookSelectedDialog = () => {
const [selectedBook, setSelectedBook] = useAtom(selectedBooksAtom);
Expand All @@ -27,7 +27,7 @@ const BookSelectedDialog = () => {
<Button
fz="xs"
variant="light"
bd="solid 1px"
bd="solid 2px"
onClick={() => setSelectedBook([])}
>
選択を解除する
Expand Down

0 comments on commit f18e7a4

Please sign in to comment.