Skip to content

Commit d0cbe7f

Browse files
authored
fix: svg rendering for bedrock (#10387)
* fix: svg rendering for bedrock * add use no memo
1 parent e5a02b6 commit d0cbe7f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/src/components/generative/GenerativeProviderIcon.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
"use no memo";
12
import React from "react";
23

34
/**
@@ -108,7 +109,6 @@ const OllamaSVG = ({ height }: { height: number }) => (
108109
fill="currentColor"
109110
fillRule="evenodd"
110111
height={height}
111-
style={{ flex: "none", lineHeight: 1 }}
112112
viewBox="0 0 24 24"
113113
width={height}
114114
xmlns="http://www.w3.org/2000/svg"
@@ -119,10 +119,9 @@ const OllamaSVG = ({ height }: { height: number }) => (
119119
);
120120
const BedrockSVG = ({ height }: { height: number }) => (
121121
<svg
122-
height={height}
123-
style={{ flex: "none", lineHeight: 1 }}
124122
viewBox="0 0 24 24"
125123
width={height}
124+
height={height}
126125
xmlns="http://www.w3.org/2000/svg"
127126
>
128127
<title>Bedrock</title>

0 commit comments

Comments
 (0)