HemmeligOrg / Hemmelig.app

Keep your sensitive information out of chat logs, emails, and more with encrypted secrets.
https://hemmelig.app
MIT License
681 stars 57 forks source link

fix: check show more before setting the state #293

Closed bjarneo closed 4 months ago

bjarneo commented 4 months ago

by doing this we will prevent an endless loop

copilot

This pull request includes a modification to the Users function in the client/routes/account/users.jsx file. The change adds a condition to check the showMore variable before executing the logic inside the if statement.

The most important change is:

sonarcloud[bot] commented 4 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud