In my NextJS app I got This type of error
Server Error
Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
This is a run time error !!!
import React from 'react';
import { GridContainer, LayoutWrapper, GridRow, GridColumn, Card, CardNumber, CardTitle, CardDescription} from '../styles/NCard.styled'
export default function Ncard () {
return (
<>
------ code ----
</>
)
}
Please help me to fix this error