Skip to content

handle empty localstorage #29

Description

@UmangThapliyal

Currently we will initialize the var as empty string and we are checking the length of itinstead we should check the value. There are two condition currently where when we are running in browser we are taking it as string because localstorage and when in node we are taking as array because there we have variable we need to make sure we are using one data type

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions