Skip to content

Commit

Permalink
fix: unique key
Browse files Browse the repository at this point in the history
  • Loading branch information
DIYgod committed Feb 1, 2024
1 parent 7758869 commit 427fa6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/options/routes/General.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ function General() {
</CardHeader>
<CardContent className="space-y-4">
{quickSubscriptions.map((quickSubscription) => (
<div className="flex items-center space-x-2 h-10">
<div className="flex items-center space-x-2 h-10" key={quickSubscription.key}>
<Switch id={quickSubscription.key} checked={config.submitto[quickSubscription.key]} onCheckedChange={(value) => setConfig({
submitto: {
[quickSubscription.key]: value
Expand Down

0 comments on commit 427fa6a

Please sign in to comment.