diff --git a/.dumirc.ts b/.dumirc.ts index 4dacaee..6c3e198 100644 --- a/.dumirc.ts +++ b/.dumirc.ts @@ -4,12 +4,10 @@ const basePath = process.env.GH_PAGES ? '/footer/' : '/'; const publicPath = process.env.GH_PAGES ? '/footer/' : '/'; export default defineConfig({ - favicons: [ - 'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4', - ], + favicons: ['https://avatars0.githubusercontent.com/u/9441414?s=200&v=4'], themeConfig: { name: 'Footer', - logo: 'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4' + logo: 'https://avatars0.githubusercontent.com/u/9441414?s=200&v=4', }, outputPath: '.doc', exportStatic: {}, diff --git a/jest.config.ts b/jest.config.ts index c99fed4..a71eebc 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -8,8 +8,8 @@ const config: Config.InitialOptions = { ...defaultConfig, setupFilesAfterEnv: [ ...(defaultConfig.setupFilesAfterEnv || []), - './tests/setupFilesAfterEnv.ts' + './tests/setupFilesAfterEnv.ts', ], -} +}; export default config; diff --git a/src/index.tsx b/src/index.tsx index 92a191e..003ed40 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -63,8 +63,9 @@ const Footer: React.FC = ({ ) => { const styleObject = { ...columnStyle } as React.CSSProperties; if (shouldWrap) { - styleObject.flex = `0 0 ${100 / (maxColumnsPerRow! + 1) + - 0.1}%`; + styleObject.flex = `0 0 ${ + 100 / (maxColumnsPerRow! + 1) + 0.1 + }%`; } return (