mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
Require link prop for styles
This commit is contained in:
@@ -4,7 +4,6 @@ import {
|
||||
Text as MantineText,
|
||||
TextProps as MantineTextProps,
|
||||
} from '@mantine/core';
|
||||
import { Link } from 'react-router-dom';
|
||||
import styled from 'styled-components';
|
||||
import { Font, textEllipsis } from '@/renderer/styles';
|
||||
|
||||
@@ -46,7 +45,6 @@ export const _Text = ({
|
||||
}: TextProps) => {
|
||||
return (
|
||||
<StyledText
|
||||
$link={rest.component === Link}
|
||||
$noSelect={$noSelect}
|
||||
$secondary={$secondary}
|
||||
font={font}
|
||||
|
||||
Reference in New Issue
Block a user