fix: Enable period selector, add SSL support for wp_signon, add debug logging
This commit is contained in:
@@ -5,10 +5,11 @@ import { useDashboardContext } from '@/contexts/DashboardContext';
|
||||
* This replaces the local useState for period and useDummyData hook
|
||||
*/
|
||||
export function useDashboardPeriod() {
|
||||
const { period, useDummyData } = useDashboardContext();
|
||||
const { period, setPeriod, useDummyData } = useDashboardContext();
|
||||
|
||||
return {
|
||||
period,
|
||||
setPeriod,
|
||||
useDummy: useDummyData,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user