From f1cdf02e9c0dca3354f4eebd38edd2ba12075893 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Fri, 26 Mar 2021 00:44:51 +0300 Subject: fix: improve typings --- src/containers/Page.tsx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/containers/Page.tsx') diff --git a/src/containers/Page.tsx b/src/containers/Page.tsx index d3a087a..73b122e 100644 --- a/src/containers/Page.tsx +++ b/src/containers/Page.tsx @@ -1,10 +1,7 @@ import React from 'react'; import Paper from '../components/Paper'; -import Button, { Props as ButtonProps } from '../components/Button'; - -export interface Action extends ButtonProps { - name: string; -} +import Button from '../components/Button'; +import { Action } from './Service/ServiceContext'; interface Props { title?: string; -- cgit v1.2.3