chore: remove unused code (#1989)
This commit is contained in:
@@ -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())
|
||||
Reference in New Issue
Block a user