Skip to content

Commit be98854

Browse files
authored
Merge pull request #12098 from bdach/mp-history-ts/main
Convert main mp history components to typescript
2 parents a5fc112 + d53acfe commit be98854

File tree

4 files changed

+233
-181
lines changed

4 files changed

+233
-181
lines changed

resources/js/entrypoints/mp-history.coffee

Lines changed: 0 additions & 10 deletions
This file was deleted.
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the GNU Affero General Public License v3.0.
2+
// See the LICENCE file in the repository root for full licence text.
3+
4+
import Main from 'mp-history/main';
5+
import core from 'osu-core-singleton';
6+
import React from 'react';
7+
import { parseJson } from 'utils/json';
8+
9+
core.reactTurbolinks.register('mp-history', () => (
10+
<Main events={parseJson('json-events')} />
11+
));

resources/js/mp-history/main.coffee

Lines changed: 0 additions & 171 deletions
This file was deleted.

0 commit comments

Comments
 (0)