chore: remove cn non-default exports

This commit is contained in:
Aarnav Tale
2025-01-28 17:46:16 -05:00
parent 843cfc4d4f
commit c9d8052e39
35 changed files with 62 additions and 76 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
import { AlertIcon } from '@primer/octicons-react';
import { isRouteErrorResponse, useRouteError } from 'react-router';
import { cn } from '~/utils/cn';
import cn from '~/utils/cn';
import Card from './Card';
import Code from './Code';
@@ -10,7 +10,7 @@ interface Props {
function getMessage(error: Error | unknown) {
if (!(error instanceof Error)) {
return "An unknown error occurred";
return 'An unknown error occurred';
}
let rootError = error;