I'm attemptiong to use a conditional inside of a "parent" conditional like so:
const linkStyle = {
boxShadow: selectedTheme ? `${boxShadowConcatenated + {selectedTheme.button.buttonBoxShadow ? selectedTheme.button.buttonBoxShadow : "black" }}` : undefined,
};
However, the selectedTheme.button. is underlined in red.
Any ideas how to make it work?