Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jagankumar-egov authored Jul 16, 2024
1 parent 17787d8 commit 991ae53
Showing 1 changed file with 32 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,38 @@ const TopBarSideBar = ({
];
return (
<React.Fragment>

<TopBar
t={t}
stateInfo={stateInfo}
toggleSidebar={toggleSidebar}
isSidebarOpen={isSidebarOpen}
handleLogout={handleLogout}
userDetails={userDetails}
CITIZEN={CITIZEN}
cityDetails={cityDetails}
mobileView={mobileView}
userOptions={userOptions}
handleUserDropdownSelection={handleUserDropdownSelection}
logoUrl={logoUrl}
showLanguageChange={showLanguageChange}
/>
{showDialog && (
<LogoutDialog onSelect={handleOnSubmit} onCancel={handleOnCancel} onDismiss={handleOnCancel}></LogoutDialog>
)}
{showSidebar && (
<SideBar
t={t}
CITIZEN={CITIZEN}
isSidebarOpen={isSidebarOpen}
toggleSidebar={toggleSidebar}
handleLogout={handleLogout}
mobileView={mobileView}
userDetails={userDetails}
linkData={linkData}
islinkDataLoading={islinkDataLoading}
/>
)}
</React.Fragment>
);
};
export default TopBarSideBar;
export default TopBarSideBar;

0 comments on commit 991ae53

Please sign in to comment.