Skip to content

Commit

Permalink
Merge pull request #251 from rimorin/hotfix-territory-code
Browse files Browse the repository at this point in the history
Hot fixes
  • Loading branch information
rimorin authored Sep 28, 2023
2 parents ff1fcab + 3dc90d0 commit f9403d1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion src/utils/constants.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ const COUNTABLE_HOUSEHOLD_STATUS = [
];

const MIN_START_FLOOR = 1;
const MAX_TOP_FLOOR = 40;
const MAX_TOP_FLOOR = 50;

const TERRITORY_SELECTOR_VIEWPORT_HEIGHT = "75vh";
const LINK_SELECTOR_VIEWPORT_HEIGHT = "40vh";
Expand Down
4 changes: 0 additions & 4 deletions src/utils/helpers/checkterritorycd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ const isValidTerritoryCode = (territoryCd: string) => {
if (!/^[a-zA-Z0-9- ]*$/.test(territoryCd)) {
return false;
}
// check if code is not empty
if (territoryCd === "") {
return false;
}
return true;
};

Expand Down

0 comments on commit f9403d1

Please sign in to comment.