@local-civics/mgmt-ui 0.1.142 → 0.1.144
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3305,7 +3305,7 @@ const useStyles = createStyles((theme) => ({
|
|
|
3305
3305
|
}));
|
|
3306
3306
|
const Pathway = (props) => {
|
|
3307
3307
|
const { classes } = useStyles();
|
|
3308
|
-
const [tab, setTab] = useState("
|
|
3308
|
+
const [tab, setTab] = useState("badges");
|
|
3309
3309
|
const numberOfStudents = props.students.length;
|
|
3310
3310
|
numberOfStudents > 0 ? props.students.filter((u) => u.isComplete).length / numberOfStudents : 0;
|
|
3311
3311
|
const numberOfBadgesEarned = numberOfStudents > 0 ? props.students.filter((u) => u.isComplete).length : 0;
|