mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-14 00:08:46 +00:00
[Glitch] Add button to load new replies in web UI
Port 14a781fa24 to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
5
app/javascript/flavours/glitch/api/async_refreshes.ts
Normal file
5
app/javascript/flavours/glitch/api/async_refreshes.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
import { apiRequestGet } from 'flavours/glitch/api';
|
||||
import type { ApiAsyncRefreshJSON } from 'flavours/glitch/api_types/async_refreshes';
|
||||
|
||||
export const apiGetAsyncRefresh = (id: string) =>
|
||||
apiRequestGet<ApiAsyncRefreshJSON>(`v1_alpha/async_refreshes/${id}`);
|
||||
Reference in New Issue
Block a user