This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Fix for https://github.com/tannerlinsley/react-table/issues/1797 | |
// | |
// The bug is that useFilters modifies the row objects such that instance.rows | |
// and instance.flatRows contain different objects. This breaks useRowSelect, | |
// which sets "isSelected" on instance.rows but then reads it back from | |
// instance.flatRows. | |
// | |
// We fix it by manually reconstructing instance.flatRows from the objects in | |
// instance.rows. | |
// |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "System Events" | |
if name of every process contains "ScreenSaverEngine" then | |
tell application "ScreenSaverEngine" | |
quit | |
end tell | |
keystroke <YOUR PASSWORD HERE> | |
keystroke return | |
end if | |
end tell |