default to 7 days (#12917)

This commit is contained in:
tanjiro 2025-07-29 13:27:43 +09:00 committed by GitHub
parent a8371d2cb1
commit ec2c5b3d07
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -83,7 +83,7 @@ const NewUsagePage: React.FC<NewUsagePageProps> = ({
// Add date range state
const [dateValue, setDateValue] = useState<DateRangePickerValue>({
from: new Date(Date.now() - 28 * 24 * 60 * 60 * 1000),
from: new Date(Date.now() - 7 * 24 * 60 * 60 * 1000),
to: new Date(),
});