Skip to content

Commit

Permalink
fix: header clock render error
Browse files Browse the repository at this point in the history
  • Loading branch information
yongsk0066 committed May 23, 2024
1 parent ae3cc98 commit e050de7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import HeaderClock from "./widget/HeaderClock";
<span>
{`/`}
</span>
<HeaderClock client:load />
<HeaderClock client:only="react" />
</nav>
</div>
</Container>
Expand Down
2 changes: 1 addition & 1 deletion src/components/widget/HeaderClock/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { useEffect, useState } from "react";
import { useEffect, useState } from "react";
import "./styles.css";

function HeaderClock() {
Expand Down

0 comments on commit e050de7

Please sign in to comment.