From 4e7e62b2bc38d5817a9e081b67f7c66f65802a13 Mon Sep 17 00:00:00 2001 From: Steve Brownlee Date: Tue, 4 Jun 2024 11:44:23 -0500 Subject: [PATCH] Implement radix buttons for weekly teams --- src/components/people/SettingsDialog.js | 5 +++-- src/components/teams/WeeklyTeams.js | 16 +++++++++------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/src/components/people/SettingsDialog.js b/src/components/people/SettingsDialog.js index c4fa1eb..58530d3 100644 --- a/src/components/people/SettingsDialog.js +++ b/src/components/people/SettingsDialog.js @@ -1,4 +1,5 @@ import React from "react" +import { Button } from '@radix-ui/themes' export const SettingsDialog = ({ toggleSettings, settingsIsOpen, changeMimic, mimic }) => { return

User Settings

- + diff --git a/src/components/teams/WeeklyTeams.js b/src/components/teams/WeeklyTeams.js index 90f5910..3971676 100644 --- a/src/components/teams/WeeklyTeams.js +++ b/src/components/teams/WeeklyTeams.js @@ -1,4 +1,6 @@ import React, { useContext, useEffect, useState } from "react" +import { Button } from '@radix-ui/themes' + import { PeopleContext } from "../people/PeopleProvider" import { CohortContext } from "../cohorts/CohortProvider" import TeamsRepository from "./TeamsRepository" @@ -286,20 +288,20 @@ export const WeeklyTeams = () => { onChange={e => setWeeklyPrefix(e.target.value)} />
- +
- +
- +
- +