mirror of
https://github.com/siteboon/claudecodeui.git
synced 2026-02-15 13:17:32 +00:00
refactor: improve VersionUpgradeModal props and extract ReleaseInfo type
Using useVersionCheck hook in 2 places caused github requests to be made twice, which is not ideal.
This commit is contained in:
6
src/types/sharedTypes.ts
Normal file
6
src/types/sharedTypes.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
export type ReleaseInfo = {
|
||||
title: string;
|
||||
body: string;
|
||||
htmlUrl: string;
|
||||
publishedAt: string;
|
||||
};
|
||||
Reference in New Issue
Block a user