Skip to content

Commit 3172428

Browse files
committed
undo pulling of font
1 parent 79b27be commit 3172428

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

dash/dash-renderer/src/DashRenderer.js

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -5,25 +5,6 @@ import AppProvider from './AppProvider.react';
55

66
class DashRenderer {
77
constructor(hooks) {
8-
// TODO: move this to a more appropriate place?
9-
const head = document.head;
10-
const link1 = document.createElement('link');
11-
link1.rel = 'preconnect';
12-
link1.href = 'https://fonts.googleapis.com';
13-
head.appendChild(link1);
14-
15-
const link2 = document.createElement('link');
16-
link2.rel = 'preconnect';
17-
link2.href = 'https://fonts.gstatic.com';
18-
link2.crossorigin = true;
19-
head.appendChild(link2);
20-
21-
const link3 = document.createElement('link');
22-
link3.href =
23-
'https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap';
24-
link3.rel = 'stylesheet';
25-
head.appendChild(link3);
26-
278
// render Dash Renderer upon initialising!
289
const container = document.getElementById('react-entry-point');
2910

0 commit comments

Comments
 (0)