mirror of
https://github.com/gabehf/Koito.git
synced 2026-04-23 04:21:51 -07:00
fix: adjust activity grid style
This commit is contained in:
parent
5a2cb437a1
commit
076dd9771b
3 changed files with 48 additions and 51 deletions
|
|
@ -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: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue