export tabs list from /
This commit is contained in:
parent
e5e4ca5857
commit
67749c1ed5
@ -11,7 +11,7 @@ import { dehydrate, QueryClient } from '@tanstack/react-query';
|
||||
import Head from 'next/head';
|
||||
import { useContext, useEffect } from 'react';
|
||||
|
||||
const tabs = [
|
||||
export const tabs = [
|
||||
{
|
||||
Component: () => <Calculation.Settings />,
|
||||
key: 'settings',
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
import { tabs } from '.';
|
||||
import initializeApollo from '@/apollo/client';
|
||||
import * as Calculation from '@/Components/Calculation';
|
||||
import { Error } from '@/Components/Common/Error';
|
||||
@ -11,25 +12,6 @@ import { dehydrate, QueryClient } from '@tanstack/react-query';
|
||||
import Head from 'next/head';
|
||||
import { useContext, useEffect } from 'react';
|
||||
|
||||
const tabs = [
|
||||
{
|
||||
Component: () => <Calculation.Settings />,
|
||||
key: 'settings',
|
||||
title: 'Расчет',
|
||||
},
|
||||
{
|
||||
Component: () => <Calculation.Form />,
|
||||
key: 'form',
|
||||
title: 'Параметры',
|
||||
},
|
||||
|
||||
{
|
||||
Component: () => <Calculation.Output />,
|
||||
key: 'output',
|
||||
title: 'Результаты',
|
||||
},
|
||||
];
|
||||
|
||||
function Content() {
|
||||
hooks.useSentryScope();
|
||||
hooks.useMainData();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user