Skip to content

Commit

Permalink
Remove hack
Browse files Browse the repository at this point in the history
  • Loading branch information
boatbomber committed Mar 26, 2024
1 parent 275dac7 commit 138acb1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions plugin/src/App/Components/ClassIcon.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,6 @@ local e = Roact.createElement
local EditableImage = require(Plugin.App.Components.EditableImage)

local function getRecoloredClassIcon(className, color)
-- HACK: DataModel is currently missing an icon so we redirect it
if className == "DataModel" then
className = "Class"
end

local iconProps = StudioService:GetClassIcon(className)

if iconProps and color then
Expand Down

0 comments on commit 138acb1

Please sign in to comment.