Skip to content

Commit

Permalink
put commented code to original state
Browse files Browse the repository at this point in the history
Signed-off-by: leanneeliatra <[email protected]>
  • Loading branch information
leanneeliatra authored and DarshitChanpura committed Jun 7, 2023
1 parent e384ee4 commit df9f869
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions public/apps/account/account-nav-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ export function AccountNavButton(props: {
React.useEffect(() => {
const fetchData = async () => {
try {
// setIsMultiTenancyEnabled(
// (await getDashboardsInfo(props.coreStart.http)).multitenancy_enabled
// );
setIsMultiTenancyEnabled(
(await getDashboardsInfo(props.coreStart.http)).multitenancy_enabled
);
} catch (e) {
// TODO: switch to better error display.
console.error(e);
Expand Down

0 comments on commit df9f869

Please sign in to comment.