Merge branch 'hackathon' of github.com:UT-Developers/UT-Registration-Plus into hackathon

This commit is contained in:
Razboy20
2024-02-17 12:07:56 -06:00
5 changed files with 149 additions and 43 deletions

View File

@@ -33,7 +33,7 @@ export function Button({
const Icon = icon;
const isIconOnly = !children && !!icon;
const colorHex = getThemeColorHexByName(color);
const colorRgb = getThemeColorRgbByName(color).join(' ');
const colorRgb = getThemeColorRgbByName(color)?.join(' ');
return (
<button