|
@@ -141,11 +141,15 @@ function WebSectionList<ItemT, RawData>(props: Props<ItemT, RawData>) {
|
141
|
141
|
<ErrorView
|
142
|
142
|
status={status}
|
143
|
143
|
code={code}
|
144
|
|
- button={{
|
145
|
|
- icon: 'refresh',
|
146
|
|
- text: i18n.t('general.retry'),
|
147
|
|
- onPress: () => refreshData(),
|
148
|
|
- }}
|
|
144
|
+ button={
|
|
145
|
+ code !== API_REQUEST_CODES.BAD_TOKEN
|
|
146
|
+ ? {
|
|
147
|
+ icon: 'refresh',
|
|
148
|
+ text: i18n.t('general.retry'),
|
|
149
|
+ onPress: () => refreshData(),
|
|
150
|
+ }
|
|
151
|
+ : undefined
|
|
152
|
+ }
|
149
|
153
|
/>
|
150
|
154
|
)
|
151
|
155
|
}
|