From 6f23e968303fb6a5ac91bd3021527d3cfcfa79d5 Mon Sep 17 00:00:00 2001 From: Samira Mokaram Date: Fri, 4 Dec 2020 10:03:26 +0100 Subject: [PATCH] refactor structure --- .../{ => Errors}/MissingTokenError.tsx | 0 .../pagerduty/src/components/Errors/index.ts | 17 +++++++++++++++++ 2 files changed, 17 insertions(+) rename plugins/pagerduty/src/components/{ => Errors}/MissingTokenError.tsx (100%) create mode 100644 plugins/pagerduty/src/components/Errors/index.ts diff --git a/plugins/pagerduty/src/components/MissingTokenError.tsx b/plugins/pagerduty/src/components/Errors/MissingTokenError.tsx similarity index 100% rename from plugins/pagerduty/src/components/MissingTokenError.tsx rename to plugins/pagerduty/src/components/Errors/MissingTokenError.tsx diff --git a/plugins/pagerduty/src/components/Errors/index.ts b/plugins/pagerduty/src/components/Errors/index.ts new file mode 100644 index 0000000000..3c2dfa65f2 --- /dev/null +++ b/plugins/pagerduty/src/components/Errors/index.ts @@ -0,0 +1,17 @@ +/* + * Copyright 2020 Spotify AB + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +export { MissingTokenError } from './MissingTokenError';