mirror of
https://github.com/lens-protocol/core.git
synced 2026-04-22 03:02:03 -04:00
misc: Unnecessary extra address variable removed
This commit is contained in:
@@ -84,8 +84,7 @@ library PublishingLogic {
|
||||
DataTypes.ProfileStruct storage _profile,
|
||||
mapping(address => bool) storage _followModuleWhitelisted
|
||||
) external {
|
||||
address prevFollowModule = _profile.followModule;
|
||||
if (followModule != prevFollowModule) {
|
||||
if (followModule != _profile.followModule) {
|
||||
_profile.followModule = followModule;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user