chore: remove unused code (#1989)

This commit is contained in:
crazywoola
2024-01-11 11:08:32 +08:00
committed by GitHub
parent f7939c758f
commit eed5fdd768
12 changed files with 7 additions and 298 deletions

View File

@@ -1,11 +0,0 @@
export type History = {
id: string
source: string
target: string
}
export type HistoryResponse = {
histories: History[]
}
export const fetchHistories = (url: string) =>
fetch(url).then<HistoryResponse>(r => r.json())