Skip to content
This repository has been archived by the owner on Oct 21, 2024. It is now read-only.

Commit

Permalink
fix: LambdaEncryptionKey being created twice under certain conditions
Browse files Browse the repository at this point in the history
  • Loading branch information
thdxr committed Oct 17, 2024
1 parent a8fc7d1 commit 40bbd4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/src/util/lazy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ export function lazy<T>(callback: () => T) {

return () => {
if (!loaded) {
result = callback();
loaded = true;
result = callback();
}
return result;
};
Expand Down

0 comments on commit 40bbd4f

Please sign in to comment.