skip to Main Content

Javascript – Prettier automatically adds {" "}

When I try to formatting the below code with Prettier: export default function App() { return ( <View className="h-full flex flex-row justify-center bg-blue-500"> <View className="h-fit"> <Text className="bg-red-500">THIS WILL BE CENTERED</Text> </View> <StatusBar style="auto" /> </View> ); } It becomes: export…

VIEW QUESTION
Back To Top
Search