felangel / bloc

A predictable state management library that helps implement the BLoC design pattern
https://bloclibrary.dev
MIT License
11.77k stars 3.39k forks source link

docs: use optimized astro `Image` in `SponsorsGrid.astro` #4148

Closed warioddly closed 5 months ago

warioddly commented 5 months ago

Status

READY

Breaking Changes

NO

Description

In the Sponsor interface there is an img property with the ImageMetadata type, we can specify it as a parameter for <Image />. <Image />is more optimized than the usual <img /> tag and therefore I replaced it with Image

With this commit, errors with types in TS are removed Corresponding file not included in tsconfig.json

Type of Change