Skip to content

Commit d943685

Browse files
committed
Fix src path for logo image. It looks like we weren't able to find this image because it was in docs, not common-docs. By adding it to common-docs (like the share logos in the same folder), we should be able to access it from our target endpoints.
1 parent fc8bccb commit d943685

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed
773 Bytes
Loading

react-common/components/theming/ThemePreview.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export const ThemePreview = (props: { theme: pxt.ColorThemeInfo }) => {
99
const uniqueContainerClassName = `theme-preview-container-${theme.id}`;
1010
const uniqueInnerClassName = `theme-preview-${theme.id}`; // Useful for override css adjusting previews
1111

12-
const miniLogo = <img className="logo" src="./static/logo/Microsoft_logo_rgb_W-white_D-square.png" alt="Microsoft MakeCode Logo" />;
12+
const miniLogo = <img className="logo" src="/static/logo/Microsoft_logo_rgb_W-white_D-square.png" alt="Microsoft MakeCode Logo" />;
1313

1414
React.useEffect(() => {
1515
if (styleRef?.current) {

0 commit comments

Comments
 (0)