Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor/code smells clean up #2

Merged
merged 9 commits into from
Oct 2, 2024
Merged

Conversation

PiusKariuki
Copy link
Collaborator

No description provided.

       Remove the declaration of the unused 'name' variable.
           const level = ref("")
       Remove this useless assignment to variable "level".
       Remove the declaration of the unused 'level' variable.
           const district = ref("")
       Remove this useless assignment to variable "district".
       Remove the declaration of the unused 'district' variable.
       import {useAllFacilities} from "../hooks/useAllFacilities.js";
       Remove this unused import of 'useAllFacilities'.
           const authStore = useAuthStore(pinia)
           if (to.meta.requiresAuth && !authStore.accessToken) {
               // return {name: "login"}
       Remove this commented out code.
@PiusKariuki PiusKariuki merged commit bc8eac4 into main Oct 2, 2024
1 of 2 checks passed
@PiusKariuki PiusKariuki deleted the refactor/code-smells-clean-up branch October 2, 2024 08:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant