From 7d4332bb6f7e3ddc7fe566e1aea7d963c0162259 Mon Sep 17 00:00:00 2001 From: Jared Scheib Date: Fri, 22 Jun 2018 18:05:07 -0700 Subject: [PATCH] Rename types/actions/error.ts to errors.ts for consistency --- ui/src/index.tsx | 2 +- ui/src/shared/actions/errors.ts | 2 +- ui/src/types/actions/error.ts | 2 +- ui/src/types/{error.ts => errors.ts} | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename ui/src/types/{error.ts => errors.ts} (100%) diff --git a/ui/src/index.tsx b/ui/src/index.tsx index a7c39fefc7..2f6aae6aa1 100644 --- a/ui/src/index.tsx +++ b/ui/src/index.tsx @@ -49,7 +49,7 @@ import {notify} from 'src/shared/actions/notifications' import 'src/style/chronograf.scss' import {HEARTBEAT_INTERVAL} from 'src/shared/constants' -import * as ErrorData from 'src/types/error' +import * as ErrorData from 'src/types/errors' const errorsQueue = [] diff --git a/ui/src/shared/actions/errors.ts b/ui/src/shared/actions/errors.ts index e00b5e1f91..40ad2fefaa 100644 --- a/ui/src/shared/actions/errors.ts +++ b/ui/src/shared/actions/errors.ts @@ -1,4 +1,4 @@ -import * as ErrorData from 'src/types/error' +import * as ErrorData from 'src/types/errors' import * as ErrorActions from 'src/types/actions/error' export const errorThrown = ( diff --git a/ui/src/types/actions/error.ts b/ui/src/types/actions/error.ts index 185def97ed..715b229259 100644 --- a/ui/src/types/actions/error.ts +++ b/ui/src/types/actions/error.ts @@ -1,4 +1,4 @@ -import * as ErrorData from 'src/types/error' +import * as ErrorData from 'src/types/errors' export type ErrorThrownActionCreator = ( error: ErrorData.ErrorDescription, diff --git a/ui/src/types/error.ts b/ui/src/types/errors.ts similarity index 100% rename from ui/src/types/error.ts rename to ui/src/types/errors.ts