Skip to content

Commit

Permalink
Remove old Card component
Browse files Browse the repository at this point in the history
  • Loading branch information
gndelia committed Jan 23, 2025
1 parent 2511098 commit 2b8eb98
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 49 deletions.
46 changes: 0 additions & 46 deletions ui-common/components/card.tsx

This file was deleted.

6 changes: 3 additions & 3 deletions webapp/components/genericError.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import { Card } from 'components/card'
import { useTranslations } from 'next-intl'
import { Card } from 'ui-common/components/card'

export const GenericError = function () {
const t = useTranslations()
return (
<Card borderColor="gray" padding="large" radius="large">
<div className="flex h-[50dvh] w-full flex-col items-center justify-center gap-y-2">
<Card>
<div className="flex h-[50dvh] w-full flex-col items-center justify-center gap-y-2 p-6 md:p-9">
<p className="text-base font-normal text-slate-500">
{t('common.unexpected-error')}
</p>
Expand Down

0 comments on commit 2b8eb98

Please sign in to comment.