mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 00:19:55 +03:00
Move
This commit is contained in:
parent
c2b2b7db50
commit
29c1d4ba45
|
@ -19,6 +19,10 @@ function getTimestamps<A extends Action<unknown>>(
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function scrollToBottom(node: HTMLDivElement) {
|
||||||
|
node.scrollTop = node.scrollHeight;
|
||||||
|
}
|
||||||
|
|
||||||
interface Props<A extends Action<unknown>> {
|
interface Props<A extends Action<unknown>> {
|
||||||
actions: { [actionId: number]: PerformAction<A> };
|
actions: { [actionId: number]: PerformAction<A> };
|
||||||
actionIds: number[];
|
actionIds: number[];
|
||||||
|
@ -42,10 +46,6 @@ interface Props<A extends Action<unknown>> {
|
||||||
lastActionId: number;
|
lastActionId: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
function scrollToBottom(node: HTMLDivElement) {
|
|
||||||
node.scrollTop = node.scrollHeight;
|
|
||||||
}
|
|
||||||
|
|
||||||
export default function ActionListFunction<A extends Action<unknown>>({
|
export default function ActionListFunction<A extends Action<unknown>>({
|
||||||
styling,
|
styling,
|
||||||
actions,
|
actions,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user