From cac94455fa6c0e7db7f80304a297c3eb79da28f2 Mon Sep 17 00:00:00 2001
From: Mohammad Torkashvand <mohammad.torkashvand@geant.org>
Date: Thu, 23 May 2024 11:03:55 +0200
Subject: [PATCH] remove unncessary comments

---
 contexts/GsoConfigContext.tsx | 6 ------
 pages/_app.tsx                | 2 --
 2 files changed, 8 deletions(-)

diff --git a/contexts/GsoConfigContext.tsx b/contexts/GsoConfigContext.tsx
index 5043bd0..3758ae9 100644
--- a/contexts/GsoConfigContext.tsx
+++ b/contexts/GsoConfigContext.tsx
@@ -1,27 +1,22 @@
 import React, { createContext, useContext, ReactNode } from 'react';
 
-// Define the shape of the GsoConfig
 interface GsoConfig {
   opaPublicBundleUrl: string;
   oidcClientId: string;
 }
 
-// Create the default values for the context
 const defaultGsoConfig: GsoConfig = {
   opaPublicBundleUrl: '',
   oidcClientId: '',
 };
 
-// Create the context
 const GsoConfigContext = createContext<GsoConfig>(defaultGsoConfig);
 
-// Define the provider's props, including children
 interface GsoConfigProviderProps {
   initialOrchestratorConfig: GsoConfig;
   children: ReactNode;
 }
 
-// Create a provider component
 export const GsoConfigProvider: React.FC<GsoConfigProviderProps> = ({
   initialOrchestratorConfig,
   children,
@@ -33,7 +28,6 @@ export const GsoConfigProvider: React.FC<GsoConfigProviderProps> = ({
   );
 };
 
-// Create a custom hook for using the context
 export const useGsoConfig = () => {
   return useContext(GsoConfigContext);
 };
diff --git a/pages/_app.tsx b/pages/_app.tsx
index a25e6f9..3de870b 100644
--- a/pages/_app.tsx
+++ b/pages/_app.tsx
@@ -1,4 +1,3 @@
-// Adjust the import path as necessary
 import '../font/inter.css';
 import { getAppLogo } from '@/components/AppLogo/AppLogo';
 import { WfoAuthWithPolicy } from '@/components/WfoAuthWithPolicy';
@@ -7,7 +6,6 @@ import {
   getInitialOrchestratorConfig,
 } from '@/configuration';
 import { gsoConfig } from '@/configuration/configuration';
-// Adjust the import path as necessary
 import { GsoConfigProvider } from '@/contexts/GsoConfigContext';
 import { TranslationsProvider } from '@/translations/translationsProvider';
 import { EuiProvider, EuiThemeColorMode } from '@elastic/eui';
-- 
GitLab