Fix error in Server component