This commit is contained in:
429Enjoyer committed 2026-06-22 14:08:53 +07:00
1 parent e05a9379fc
commit c42808431c
31 files changed
+3187 -2798

No files matched your search

-3
View File
@@ -11,12 +11,10 @@ export interface FetchState {
retweets: boolean;
timelineType: string;
}
function normalizeFetchState(state: FetchState | null | undefined): FetchState | null {
if (!state) {
return null;
}
return {
...state,
cursor: state.cursor || "",
@@ -26,7 +24,6 @@ function normalizeFetchState(state: FetchState | null | undefined): FetchState |
timelineType: state.timelineType || "timeline",
};
}
export function saveFetchState(state: Partial<FetchState> & {
username: string;
}): void {