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 State Checker to have DRY Code #1145

Open
MICHAELMUNAVU83 opened this issue Nov 13, 2024 · 0 comments
Open

Refactor State Checker to have DRY Code #1145

MICHAELMUNAVU83 opened this issue Nov 13, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@MICHAELMUNAVU83
Copy link
Collaborator

MICHAELMUNAVU83 commented Nov 13, 2024

Have a helper function to be used across pages where we are checking for the state of an image to display an image

 defp make_sure_photo_state_is_atom(nil) do
    ""
  end

  defp make_sure_photo_state_is_atom(photo) do
@MICHAELMUNAVU83 MICHAELMUNAVU83 self-assigned this Nov 13, 2024
@MICHAELMUNAVU83 MICHAELMUNAVU83 added the enhancement New feature or request label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant