Skip to content

Commit

Permalink
Fixed bugs
Browse files Browse the repository at this point in the history
Signed-off-by: Dan Dong <[email protected]>
  • Loading branch information
danieldong51 committed Aug 21, 2024
1 parent 5c578a4 commit a4b23cf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions public/components/overview/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ coreRefs.contentManagement?.registerContentProvider({
setStartDate={setStartDate}
endDate={endDate}
setEndDate={setEndDate}
showModal={showFlyout}
showFlyout={showFlyout}
/>
) : (
<AddDashboardCallout showFlyout={showFlyout} navigateToApp={navigateToApp} />
Expand All @@ -85,7 +85,6 @@ export const Home = ({ ..._props }: HomeProps) => {
const [_, setIsRegistered] = useState(false);
const [dashboards, setDashboards] = useState<DashboardDictionary>({});
const [isFlyoutVisible, setIsFlyoutVisible] = useState(false);
[isFullscreen, setIsFullscreen] = useState(false);
[startDate, setStartDate] = useState(moment().toISOString());
[endDate, setEndDate] = useState(moment().toISOString());
[dashboardTitle, setDashboardTitle] = useState('');
Expand Down

0 comments on commit a4b23cf

Please sign in to comment.