Skip to content

Commit

Permalink
Fix further issues with typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
iamgraeme committed Sep 25, 2024
1 parent c85e51e commit ea4dbfd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions lib/components/organisms/TierTile/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ const Progress: React.FC = () => {
const { tier } = configuration as TierTileConfig;
if (!tier) return null;
return (
// @ts-ignore
<ProgressBar percentage={tier?.earnedPoints / tier?.pointsRequirement} />
);
};
Expand Down
4 changes: 2 additions & 2 deletions lib/types/theme.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { ReactNode } from 'react';
import { sizes } from '../utils/styling';
import { AlphaDerivedColors, DerivedColors } from '../utils/themeHelpers';
import { DerivedColors } from '../utils/themeHelpers';

export type BaseThemeObject = {
accent: string;
Expand All @@ -24,7 +24,7 @@ export type DerivedProperties = {
negativeText: string;
derivedSurfaceText: DerivedColors;
derivedSurface: DerivedColors;
alphaDerivedPrimary: AlphaDerivedColors;
alphaDerivedPrimary: DerivedColors;
};

export type ThemeObject = BaseThemeObject &
Expand Down

0 comments on commit ea4dbfd

Please sign in to comment.