mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +00:00
fix(ui): fix TypeScript error - publicPage === true in narrowed false context
This commit is contained in:
parent
a508a9665a
commit
665306b4f0
1 changed files with 1 additions and 1 deletions
|
|
@ -534,7 +534,7 @@ const ModelHubTable: React.FC<ModelHubTableProps> = ({ accessToken, publicPage,
|
|||
accessToken={accessToken}
|
||||
publicPage={publicPage}
|
||||
onPublishSuccess={async () => {
|
||||
const response = await getClaudeCodePluginsList(accessToken || "", publicPage === true);
|
||||
const response = await getClaudeCodePluginsList(accessToken || "", publicPage);
|
||||
setSkillHubData(response.plugins);
|
||||
}}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue