mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-11-25 19:01:37 +01:00
Fix a leftover argument to api()
(#30405)
This commit is contained in:
parent
b6fd14f0e2
commit
8ea2726376
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ const mapStateToProps = (state, { columnId }) => {
|
|||
return {
|
||||
settings: columns.get(index).get('params'),
|
||||
onLoad (value) {
|
||||
return api(() => state).get('/api/v2/search', { params: { q: value, type: 'hashtags' } }).then(response => {
|
||||
return api().get('/api/v2/search', { params: { q: value, type: 'hashtags' } }).then(response => {
|
||||
return (response.data.hashtags || []).map((tag) => {
|
||||
return { value: tag.name, label: `#${tag.name}` };
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue