Skip to content

Commit

Permalink
Fix build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dangtony98 committed Jan 15, 2023
1 parent b8fbc36 commit 061a9c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion frontend/components/basic/table/ApiKeyTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import Button from '../buttons/Button';
interface TokenProps {
_id: string;
name: string;
environment: string;
expiresAt: string;
}

Expand Down
4 changes: 2 additions & 2 deletions frontend/pages/settings/personal/[id].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ export default function PersonalSettings() {
</div>
<div className="w-48 mt-2">
<Button
text={t("settings-personal:api-keys.add-new")}
text={String(t("settings-personal:api-keys.add-new"))}
onButtonPressed={() => {
setIsAddApiKeyDialogOpen(true);
}}
Expand All @@ -133,7 +133,7 @@ export default function PersonalSettings() {
</div>
<ApiKeyTable
data={apiKeys}
setApiKeys={setApiKeys}
setApiKeys={setApiKeys as any}
/>
</div>

Expand Down

0 comments on commit 061a9c8

Please sign in to comment.