Welcome to Cofiblocks marketplace: A Starknet web3 platform to innovate Costa Rica coffee industry. Cofiblocks connects small coffee farmers directly with coffee lovers, cutting out unnecessary intermediaries.
Changelog for PR #35 - Clean up build errors and warnings
Added
Implemented localeDetection: false in next.config.js for improved i18n handling.
Integrated class-variance-authority (cva) for styling consistency in ProfileOptions.
Introduced new DeliveryMethodEnum and SalesStatusEnum constants in multiple components for sales and delivery statuses.
Updated
Refactored components to use next/image for better image optimization and accessibility.
Replaced old || with the modern ?? nullish coalescing operator in multiple files to improve handling of null or undefined values.
Adjusted multiple React components to follow best practices for form handling using react-hook-form.
Updated farmImage and profileImage handling in EditMyFarmProfile and EditMyProfile components to use nullish coalescing (??) for better default value checks.
Changed the default export in apps/web/src/i18n.ts to use imported translations directly rather than require statements.
Fixed
Resolved issues with image dimensions and lazy loading by updating image imports across multiple components (Image from next/image).
Fixed incorrect typing of userId in TRPC router by converting to string format in userRouter.
Removed
Removed unused imports and variables related to useConnect in user-related components for cleaner code.
Changelog for PR #35 - Clean up build errors and warnings
Added
localeDetection: false
innext.config.js
for improved i18n handling.class-variance-authority (cva)
for styling consistency inProfileOptions
.DeliveryMethodEnum
andSalesStatusEnum
constants in multiple components for sales and delivery statuses.Updated
next/image
for better image optimization and accessibility.||
with the modern??
nullish coalescing operator in multiple files to improve handling of null or undefined values.react-hook-form
.farmImage
andprofileImage
handling inEditMyFarmProfile
andEditMyProfile
components to use nullish coalescing (??
) for better default value checks.apps/web/src/i18n.ts
to use imported translations directly rather thanrequire
statements.Fixed
Image
fromnext/image
).userId
in TRPC router by converting to string format inuserRouter
.Removed
useConnect
in user-related components for cleaner code.