Skip to content

Canot read properties of undefind (reading 'replace') #18

@jirawatfreedom

Description

@jirawatfreedom

error - components\events\event-item.js (17:36) @ EventItem
TypeError: Cannot read properties of undefined (reading 'replace')
15 | year: 'numeric',
16 | });

17 | const formattedAddress = location.replace(', ', '\n');
| ^
18 | const exploreLink = /events/${id};
19 |
20 | return (

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions