chore: remove unused code (#1989)

This commit is contained in:
crazywoola 2024-01-11 11:08:32 +08:00 committed by GitHub
commit eed5fdd768
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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())