Skip to content

Commit

Permalink
fix: Delete some unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
firejune committed Nov 7, 2023
1 parent 6ca4272 commit 477f2a1
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/app/[username]/Chart.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,7 @@ const Chart = ({
let lastCountedMonth = 0

return (
<svg
data-color-mode={scheme}
width={width}
height={height}
viewBox={`0 0 ${width} ${height}`}
style={{ background: 'transparent' }}
>
<svg data-color-mode={scheme} width={width} height={height} viewBox={`0 0 ${width} ${height}`}>
<g transform={`translate(${canvasMargin}, ${canvasMargin})`}>
<g transform={`translate(${textWidth}, ${textHeight})`}>
{data.map((week, x) => (
Expand Down

0 comments on commit 477f2a1

Please sign in to comment.