mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-05-07 18:48:39 +00:00
Clear error in helpers?
This commit is contained in:
+1
-1
@@ -138,7 +138,7 @@ const fetchThemeBundle = async (setError, setThemeBundle, renderer, theme)=>{
|
|||||||
const themeBundle = res.body;
|
const themeBundle = res.body;
|
||||||
themeBundle.joinedStyles = themeBundle.styles.map((style)=>`<style>${style}</style>`).join('\n\n');
|
themeBundle.joinedStyles = themeBundle.styles.map((style)=>`<style>${style}</style>`).join('\n\n');
|
||||||
setThemeBundle(themeBundle);
|
setThemeBundle(themeBundle);
|
||||||
setError(null);
|
if(setError) { setError(null); }
|
||||||
};
|
};
|
||||||
|
|
||||||
const debugTextMismatch = (clientTextRaw, serverTextRaw, label)=>{
|
const debugTextMismatch = (clientTextRaw, serverTextRaw, label)=>{
|
||||||
|
|||||||
Reference in New Issue
Block a user