Skip to content

Commit

Permalink
Fix recruitment gang overview rerender bug (#1405)
Browse files Browse the repository at this point in the history
* Fix gang render bug

* Remove todo
  • Loading branch information
robines authored Sep 29, 2024
1 parent e65f650 commit a3584dd
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,9 @@ export function RecruitmentGangOverviewPage() {
Promise.all([
getRecruitmentGangs(recruitmentId).then((data) => {
setGangs(data);
setLoading(false);
}),
getRecruitment(recruitmentId).then((response) => {
setRecruitment(response.data);
setLoading(false);
}),
]).then(() => {
setLoading(false);
Expand Down Expand Up @@ -177,7 +175,6 @@ export function RecruitmentGangOverviewPage() {
</>
);

// TODO: Fix rerender
const tabs: Tab<ReactElement>[] = [
{ key: 1, label: t(KEY.common_gangs), value: <Table columns={tableGangColumns} data={tableGangData} /> },
{
Expand Down

0 comments on commit a3584dd

Please sign in to comment.