chore: remove cn non-default exports
This commit is contained in:
parent
843cfc4d4f
commit
c9d8052e39
35 changed files with 62 additions and 76 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue