Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 57a515c

Browse files
committedMar 15, 2025·
Fix lint
1 parent 48b8582 commit 57a515c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎apps/builder/app/builder/features/settings-panel/controls/resource-control.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ export const ResourceControl = ({
230230
}
231231
}
232232
// create temporary resource
233-
const resourceId = useMemo(() => resource?.id ?? nanoid(), []);
233+
const resourceId = useMemo(() => resource?.id ?? nanoid(), [resource]);
234234
resource ??= {
235235
id: resourceId,
236236
name: propName,

0 commit comments

Comments
 (0)
Please sign in to comment.