fix(web): substitui Space direction por orientation em todos os arquivos
AntD 6 deprecou direction em favor de orientation. 14 ocorrências em ClientsPage, NewOrderPage, RafaelPainel e SandraPainel. Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -25,7 +25,7 @@ function buildColumns(navigate: ReturnType<typeof useNavigate>): TableColumnsTyp
|
||||
dataIndex: 'nome',
|
||||
key: 'nome',
|
||||
render: (nome: string, record: ClientSummary) => (
|
||||
<Space direction="vertical" size={0}>
|
||||
<Space orientation="vertical" size={0}>
|
||||
<Typography.Link
|
||||
strong
|
||||
onClick={() =>
|
||||
@@ -101,9 +101,9 @@ export function ClientsPage() {
|
||||
const columns = buildColumns(navigate);
|
||||
|
||||
return (
|
||||
<Space direction="vertical" size={24} style={{ width: '100%' }}>
|
||||
<Space orientation="vertical" size={24} style={{ width: '100%' }}>
|
||||
{/* Cabeçalho */}
|
||||
<Space direction="vertical" size={4}>
|
||||
<Space orientation="vertical" size={4}>
|
||||
<Title level={2} style={{ margin: 0 }}>
|
||||
Carteira de Clientes
|
||||
</Title>
|
||||
|
||||
Reference in New Issue
Block a user