Add snackbar when duplicate team names and pre-select edited team's name
Compare changes
@@ -8,10 +8,12 @@ import {
@@ -32,6 +34,7 @@ type TeamsProps = {
@@ -46,7 +49,9 @@ const Teams = ({ competitionId }: TeamsProps) => {
@@ -102,7 +107,14 @@ const Teams = ({ competitionId }: TeamsProps) => {
@@ -113,6 +125,9 @@ const Teams = ({ competitionId }: TeamsProps) => {