diff --git a/client/src/components/helpers/border-color-picker.ts b/client/src/components/helpers/border-color-picker.ts index 2f15717b78..a225a36136 100644 --- a/client/src/components/helpers/border-color-picker.ts +++ b/client/src/components/helpers/border-color-picker.ts @@ -1,6 +1,6 @@ export default function borderColorPicker( - isDonating: boolean | undefined, - isTopContributor: boolean | undefined + isDonating?: boolean, + isTopContributor?: boolean ): string { if (isDonating && isTopContributor) return 'purple-border'; else if (isTopContributor) return 'blue-border';