Update TODO
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
- [ ] Fix: Initial load `pointString` validation (make sure all talents are valid and their deps are met)
|
- [ ] Fix: Initial load `pointString` validation (make sure all talents are valid and their deps are met)
|
||||||
- [ ] Fix: Navigating between talent links for same class does not trigger re-render
|
- [ ] Fix: Navigating between talent links for same class does not trigger re-render
|
||||||
|
- [ ] Fix: Icon image fallback if not locally known
|
||||||
|
|
||||||
- [ ] Styling:
|
- [ ] Styling:
|
||||||
- [ ] SCSS: Normalize
|
- [ ] SCSS: Normalize
|
||||||
|
|||||||
@@ -60,6 +60,7 @@ export const Icon = React.forwardRef<HTMLDivElement, Props>((props, ref) => {
|
|||||||
)
|
)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// TODO: Fallback is broken due to no longer using require()
|
||||||
const iconUrl = (name: string, size: string): string => {
|
const iconUrl = (name: string, size: string): string => {
|
||||||
try {
|
try {
|
||||||
return `${process.env.PUBLIC_URL}/images/icons/${size}/${name}.jpg`
|
return `${process.env.PUBLIC_URL}/images/icons/${size}/${name}.jpg`
|
||||||
|
|||||||
Reference in New Issue
Block a user