Skip to content

Commit 9c76368

Browse files
author
DNN Platform CI Bot
committed
Merge branch 'release/10.3.2' into develop
2 parents ca275c5 + 5901787 commit 9c76368

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • Dnn.AdminExperience/ClientSide/Dnn.React.Common/src/Flag

Dnn.AdminExperience/ClientSide/Dnn.React.Common/src/Flag/index.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,11 @@ function Flag({ culture = "", onClick, title }) {
4242

4343
useEffect(() => {
4444
try {
45-
setFlagUrl(require(`./img/flags/${culture}.png`).default);
45+
setFlagUrl(require(`./img/flags/${culture}.png`));
4646
setIsFallback(false);
4747
} catch {
4848
try {
49-
setFlagUrl(require("./img/flags/none.png").default);
49+
setFlagUrl(require("./img/flags/none.png"));
5050
setIsFallback(true);
5151
} catch {
5252
setFlagUrl(undefined);

0 commit comments

Comments
 (0)