Do not show retry button on token error
This commit is contained in:
부모
ffa4cfa376
커밋
b289a85b8a
1개의 변경된 파일과 9개의 추가작업 그리고 5개의 파일을 삭제
|
|
@ -141,11 +141,15 @@ function WebSectionList<ItemT, RawData>(props: Props<ItemT, RawData>) {
|
||||||
<ErrorView
|
<ErrorView
|
||||||
status={status}
|
status={status}
|
||||||
code={code}
|
code={code}
|
||||||
button={{
|
button={
|
||||||
icon: 'refresh',
|
code !== API_REQUEST_CODES.BAD_TOKEN
|
||||||
text: i18n.t('general.retry'),
|
? {
|
||||||
onPress: () => refreshData(),
|
icon: 'refresh',
|
||||||
}}
|
text: i18n.t('general.retry'),
|
||||||
|
onPress: () => refreshData(),
|
||||||
|
}
|
||||||
|
: undefined
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
불러오는 중…
Reference in a new issue