oncall icon indicating copy to clipboard operation
oncall copied to clipboard

472 wrong team

Open teodosii opened this issue 2 years ago • 1 comments

Fix for #472

teodosii avatar Sep 12 '22 07:09 teodosii

I don't like that you copypasted

notFound?: boolean;
  wrongTeamError?: boolean;
  teamToSwitch?: { name: string; id: string };
  wrongTeamNoPermissions?: boolean;

to many pages, it would be good to wrap this state, requests, logic and so on into separate service/top level component and manage this stuff in one place to avoid copypaste

maskin25 avatar Sep 20 '22 09:09 maskin25