Skip to content

Commit

Permalink
Fix after review
Browse files Browse the repository at this point in the history
  • Loading branch information
nchaulet committed Jun 27, 2021
1 parent 3b8665d commit e28dd65
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import url from 'url';
import { stringify } from 'querystring';

import React, { memo, useMemo, useState, useCallback, useEffect } from 'react';
import type { FunctionComponent } from 'react';
import styled from 'styled-components';
import { encode } from 'rison-node';
import {
Expand Down Expand Up @@ -66,7 +65,7 @@ export interface AgentLogsState {

export const AgentLogsUrlStateHelper = createStateContainerReactHelpers();

const AgentPolicyLogsNotEnabledCallout: FunctionComponent<{ agentPolicy: AgentPolicy }> = ({
const AgentPolicyLogsNotEnabledCallout: React.FunctionComponent<{ agentPolicy: AgentPolicy }> = ({
agentPolicy,
}) => {
const { getHref } = useLink();
Expand Down Expand Up @@ -108,7 +107,7 @@ const AgentPolicyLogsNotEnabledCallout: FunctionComponent<{ agentPolicy: AgentPo
);
};

export const AgentLogsUI: FunctionComponent<AgentLogsProps> = memo(
export const AgentLogsUI: React.FunctionComponent<AgentLogsProps> = memo(
({ agent, agentPolicy, state }) => {
const { data, application, http } = useStartServices();
const { update: updateState } = AgentLogsUrlStateHelper.useTransitions();
Expand Down

0 comments on commit e28dd65

Please sign in to comment.