@topconsultnpm/sdkui-react-beta 6.11.104 → 6.11.105

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -162,19 +162,17 @@ const TMLoginForm = (props) => {
162
162
  // setShowDefaultLogo(false);
163
163
  // }
164
164
  // }).catch(() => setShowDefaultLogo(true));
165
- useEffect(() => {
166
- fetch('logo-custom.svg', { method: 'HEAD' })
167
- .then(res => {
168
- const isSvg = res.headers.get('Content-Type')?.includes('image/svg');
169
- if (res.ok && isSvg) {
170
- setShowDefaultLogo(false);
171
- }
172
- else {
173
- setShowDefaultLogo(true);
174
- }
175
- })
176
- .catch(() => setShowDefaultLogo(true));
177
- }, []);
165
+ fetch('logo-custom.svg', { method: 'HEAD' })
166
+ .then(res => {
167
+ const isSvg = res.headers.get('Content-Type')?.includes('image/svg');
168
+ if (res.ok && isSvg) {
169
+ setShowDefaultLogo(false);
170
+ }
171
+ else {
172
+ setShowDefaultLogo(true);
173
+ }
174
+ })
175
+ .catch(() => setShowDefaultLogo(true));
178
176
  }, []);
179
177
  useEffect(() => {
180
178
  const checkRefsReady = () => inputRefs.every(ref => ref?.current);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topconsultnpm/sdkui-react-beta",
3
- "version": "6.11.104",
3
+ "version": "6.11.105",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",