diff options
| author | Shpuld Shpuldson <shp@cock.li> | 2020-12-02 12:48:21 +0200 |
|---|---|---|
| committer | Shpuld Shpuldson <shp@cock.li> | 2020-12-02 12:48:21 +0200 |
| commit | b537032e6d07828db6fc016c1413970c436e19ad (patch) | |
| tree | c6d89bdbcf112678dc63236653a6aea426eacf80 /src/hocs | |
| parent | 4dde9c4d529fb94b23b394aaa91e6a7cafd75777 (diff) | |
| parent | fdfb8810c1d8ab64969c38aa1a6bce1daf013249 (diff) | |
Merge branch 'develop' into fix/fix-error-handling-in-profile-tab
Diffstat (limited to 'src/hocs')
| -rw-r--r-- | src/hocs/with_load_more/with_load_more.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/hocs/with_load_more/with_load_more.js b/src/hocs/with_load_more/with_load_more.js index afb51a0f..7df9dbb2 100644 --- a/src/hocs/with_load_more/with_load_more.js +++ b/src/hocs/with_load_more/with_load_more.js @@ -91,7 +91,11 @@ const withLoadMore = ({ {children} </WrappedComponent> <div class="with-load-more-footer"> - {this.error && <a onClick={this.fetchEntries} class="alert error">{this.$t('general.generic_error')}</a>} + {this.error && + <button onClick={this.fetchEntries} class="button-unstyled -link -fullwidth alert error"> + {this.$t('general.generic_error')} + </button> + } {!this.error && this.loading && <FAIcon spin icon="circle-notch"/>} {!this.error && !this.loading && !this.bottomedOut && <a onClick={this.fetchEntries}>{this.$t('general.more')}</a>} </div> |
