fix: setOffest when the select sort option
This commit is contained in:
parent
25935a96be
commit
efd3272ff4
@ -96,6 +96,7 @@ export default function SearchForm({ memberRole, userId }: { memberRole: string;
|
||||
id="sort-option"
|
||||
value={sort}
|
||||
onChange={(e) => {
|
||||
setOffset(0)
|
||||
setSort(e.target.value as 'created' | 'updated')
|
||||
}}
|
||||
>
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import getConfigs from '@/config/config.common'
|
||||
|
||||
// 환경마다 달라져야 할 변수, 값들을 정의합니다. (여기는 local 환경에 맞는 값을 지정합니다.)
|
||||
const baseUrl = 'http://localhost:3000'
|
||||
const baseUrl = 'http://172.30.1.65:3000'
|
||||
const mode = 'local'
|
||||
|
||||
// 환경마다 달라져야 할 값들을 getConfig 함수에 전달합니다.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user