fix: adjust activity grid style

This commit is contained in:
Gabe Farrell 2025-06-17 20:43:46 -04:00
parent 5a2cb437a1
commit 076dd9771b
3 changed files with 48 additions and 51 deletions

View file

@ -50,11 +50,6 @@ export default function ActivityGrid({
const [color, setColor] = useState(getPrimaryColor())
const [stepState, setStep] = useState(step)
const [rangeState, setRange] = useState(range)
// sometimes, a little bit of a lie for the sake of better design is necessary
if (rangeState === 365) {
setRange(rangeState - 1)
}
const { isPending, isError, data, error } = useQuery({
queryKey: [