Merge branch 'react-practice-02' into feat/add-user-rooms-to-global-state

This commit is contained in:
2023-11-22 22:11:23 +07:00
11 changed files with 20 additions and 39 deletions
@@ -25,7 +25,7 @@ const getAllRooms = async (
.from(ROOMS_TABLE)
.select('*')
.order(sortBy, { ascending: orderBy === 'asc' })
.like('name', `%${roomName}%`);
.ilike('name', `%${roomName}%`);
if (error) {
console.error(error.message);