[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:
Eugen Rochko
2025-07-23 15:42:07 +02:00
committed by Claire
parent d9c1e45739
commit a8432560ba
8 changed files with 204 additions and 13 deletions

View 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}`);