Explorar el Código

remove ThemeImageProvider

yohei0125 hace 3 años
padre
commit
e05d2b5af6
Se han modificado 1 ficheros con 0 adiciones y 14 borrados
  1. 0 14
      packages/app/src/components/Theme/utils/ThemeImageProvider.tsx

+ 0 - 14
packages/app/src/components/Theme/utils/ThemeImageProvider.tsx

@@ -1,14 +0,0 @@
-import { GrowiThemes } from '~/interfaces/theme';
-import { Themes } from '~/stores/use-next-themes';
-
-import { getBackgroundImageSrc as getWoodBackgroundImageSrc } from '../ThemeWood';
-
-export const getBackgroundImageSrc = (theme: GrowiThemes | undefined, colorScheme: Themes | undefined): string | undefined => {
-  if (theme == null || colorScheme == null) {
-    return undefined;
-  }
-  switch (theme) {
-    default:
-      return undefined;
-  }
-};