From 297654f58e351ac6e10c4f7c465bb62d37d4495b Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Tue, 24 May 2022 22:58:15 +0200
Subject: build(deps): bump all dependencies

I moved the website picture from useSettings to the layout
component since it is only used here. This reduce the number
of Jest errors. However, there's still some issues with some
images import...
---
 src/utils/hooks/use-settings.tsx | 21 ---------------------
 1 file changed, 21 deletions(-)

(limited to 'src/utils/hooks/use-settings.tsx')

diff --git a/src/utils/hooks/use-settings.tsx b/src/utils/hooks/use-settings.tsx
index cc5261b..a1d1a65 100644
--- a/src/utils/hooks/use-settings.tsx
+++ b/src/utils/hooks/use-settings.tsx
@@ -1,4 +1,3 @@
-import photo from '@assets/images/armand-philippot.jpg';
 import { settings } from '@utils/config';
 import { useRouter } from 'next/router';
 
@@ -31,21 +30,6 @@ export type LocaleSettings = {
   supported: string[];
 };
 
-export type PictureSettings = {
-  /**
-   * The picture height.
-   */
-  height: number;
-  /**
-   * The picture url.
-   */
-  src: string;
-  /**
-   * The picture width.
-   */
-  width: number;
-};
-
 export type WebsiteSettings = {
   /**
    * The website name.
@@ -67,10 +51,6 @@ export type WebsiteSettings = {
    * The website locales.
    */
   locales: LocaleSettings;
-  /**
-   * A picture representing the website.
-   */
-  picture: PictureSettings;
   /**
    * The website url.
    */
@@ -109,7 +89,6 @@ const useSettings = (): UseSettingsReturn => {
         supported: locales.supported,
       },
       name,
-      picture: photo,
       url,
     },
   };
-- 
cgit v1.2.3

