Skip to content

Commit

Permalink
fix: ステート変数の命名を修正
Browse files Browse the repository at this point in the history
  • Loading branch information
reiroop committed Jan 25, 2025
1 parent 050b586 commit 1460c08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/src/components/StampPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import React, { useState } from "react";
import Reaction, { ReactionAssets } from "../model/reactions";

export const StampPicker: React.FC = () => {
const [isPopoverOpen, setPopoverOpen] = useState(false);
const [isPopoverOpen, setIsPopoverOpen] = useState(false);
const reactions: Reaction[] = Array(8)
.fill([
{
Expand Down Expand Up @@ -52,7 +52,7 @@ export const StampPicker: React.FC = () => {
}
trigger="click"
open={isPopoverOpen}
onOpenChange={setPopoverOpen}
onOpenChange={setIsPopoverOpen}
>
<Button icon={<SmileOutlined />} />
</Popover>
Expand Down

0 comments on commit 1460c08

Please sign in to comment.