def test_custom_component_hash(my_component):
    """Test that the hash of a custom component is correct.

    Args:
        my_component: A test custom component.
    """
    component1 = rx.memo(my_component)(prop1="test", prop2=1)
    component2 = rx.memo(my_component)(prop1="test", prop2=2)
    assert {component1, component2} == {component1}
Test that the hash of a custom component is correct.

    Args:
        my_component: A test custom component.
    
tests/units/components/test_component.py