mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-16 05:36:00 +02:00
fix song list filters
This commit is contained in:
@@ -17,10 +17,6 @@ interface ComponentErrorFallbackProps {
|
||||
const ComponentErrorFallback = ({ resetErrorBoundary }: ComponentErrorFallbackProps) => {
|
||||
const { t } = useTranslation();
|
||||
|
||||
const handleRefresh = () => {
|
||||
window.location.reload();
|
||||
};
|
||||
|
||||
return (
|
||||
<Box h="100%" pos="relative" w="100%">
|
||||
<Center h="100%" p="md" w="100%">
|
||||
@@ -35,9 +31,6 @@ const ComponentErrorFallback = ({ resetErrorBoundary }: ComponentErrorFallbackPr
|
||||
<Button onClick={resetErrorBoundary} size="xs" variant="default">
|
||||
{t('common.reload', { postProcess: 'sentenceCase' })}
|
||||
</Button>
|
||||
<Button onClick={handleRefresh} size="xs" variant="filled">
|
||||
{t('common.refresh', { postProcess: 'sentenceCase' })}
|
||||
</Button>
|
||||
</Group>
|
||||
</Stack>
|
||||
</Center>
|
||||
|
||||
Reference in New Issue
Block a user