Skip to content

Commit

Permalink
fix: 검색창 살짝만 정리
Browse files Browse the repository at this point in the history
  • Loading branch information
FourwingsY committed Apr 9, 2024
1 parent 4e53b21 commit 48ecad3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions app/(private)/accessibility/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { AccessibilitySummary } from "@/lib/models/accessibility"

import Table, { makeTypedColumn } from "@/components/Table"
import { Contents, Header } from "@/components/layout"
import { Flex } from "@/styles/jsx"

import { ActionsCell, ImagesCell } from "./components/Cells"
import * as S from "./page.style"
Expand All @@ -27,8 +28,12 @@ export default function AccessibilityList() {
<Header title="등록된 정보 관리" />
<Contents.Normal>
<FormProvider {...form}>
<TextInput type="text" name="query" placeholder="등록 최신순 검색" />
<S.SearchButton onClick={() => setQuery(form.watch("query"))}>검색</S.SearchButton>
<Flex>
<TextInput type="text" name="query" placeholder="등록 최신순 검색" />
<S.SearchButton style={{ width: 80 }} onClick={() => setQuery(form.watch("query"))}>
검색
</S.SearchButton>
</Flex>
</FormProvider>
<Table
rows={accessibilities}
Expand Down

0 comments on commit 48ecad3

Please sign in to comment.