ccb7b1f9ac
* Optimize conditional rendering Declared a variable called isAdmin. The check session.data?.user.role === "ADMIN" is repeated multiple times. You can store this value in a variable to avoid redundant checks. * Update AppsLayout.tsx Removed extra line space to match prettier format * fix: lint error Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in> --------- Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in> Co-authored-by: Udit Takkar <udit.07814802719@cse.mait.ac.in> |
||
---|---|---|
.. | ||
docs | ||
storybook | ||
swagger | ||
web |