[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot] 2024-06-27 21:19:41 +00:00 committed by GitHub
commit d0e017ea2d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -173,9 +173,9 @@ export default function CodeTabsComponent({
{tabs.map((tab, idx) => (
<TabsContent
value={idx.toString()}
className="api-modal-tabs-content overflow-hidden"
key={idx} // Remember to add a unique key prop
value={idx.toString()}
className="api-modal-tabs-content overflow-hidden"
key={idx} // Remember to add a unique key prop
>
{tabsOrder[idx].toLowerCase() !== "tweaks" ? (
<div className="flex h-full w-full flex-col">

View file

@ -43,7 +43,7 @@ const ApiModal = forwardRef(
setOpen?: (a: boolean | ((o?: boolean) => boolean)) => void;
},
ref,
) => {
) => {
const tweaksCode = buildTweaks(flow);
const tweak = useTweaksStore((state) => state.tweak);
const addTweaks = useTweaksStore((state) => state.setTweak);