Skip to content

Commit 30f3c2b

Browse files
Merge remote-tracking branch 'origin/gh-pages' into gh-pages
2 parents 5316472 + 76eef41 commit 30f3c2b

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

samples/chat/css/main.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
--search-height: 36px;
3131
--toolbar-height: 49px;
3232
--sidebar-width: 374px;
33+
--cash-tester-color: orange;
3334
}
3435

3536
* {

samples/chat/index.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
66
<meta http-equiv="X-UA-Compatible" content="ie=edge">
7+
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
78
<title>QuickBlox chat code sample</title>
89
<link rel="shortcut icon" href="https://quickblox.com/favicon.ico">
910

@@ -131,7 +132,7 @@ <h2>Info</h2>
131132

132133
<div class="dashboard">
133134
<div class="dashboard_center copyright-2020-pow ">
134-
<samp style="padding-right: 6px;">Copyright © 2020 Powered by QuickBlox. All rights reserved.</samp>
135+
<samp style="padding-right: 6px;">Copyright © 2020 Powered by QuickBlox. All rights reserved. Sample version 1.0.0.</samp>
135136

136137
</div>
137138

samples/chat/js/app.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ App.prototype.init = function (config) {
4141
// Step 1. QB SDK initialization.
4242
QB = _.clone(qbConnectService.qb);
4343
QB.init(config.credentials.appId, config.credentials.authKey, config.credentials.authSecret, config.appConfig);
44+
console.log('QB version: ', QB.version, ' build number: ', QB.buildNumber, ' sample version: 1.0.0');
4445
};
4546

4647
App.prototype.renderDashboard = function (activeTabName) {

samples/react-chat-ui-kit-demo-app/src/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react';
22
import ReactDOM from 'react-dom/client';
3-
import { BrowserRouter } from 'react-router-dom';
3+
import {HashRouter} from 'react-router-dom';
44
import './index.scss';
55
import App from './App';
66
import reportWebVitals from './reportWebVitals';
@@ -10,9 +10,9 @@ const root = ReactDOM.createRoot(
1010
);
1111
root.render(
1212
<React.StrictMode>
13-
<BrowserRouter>
13+
<HashRouter>
1414
<App />
15-
</BrowserRouter>
15+
</HashRouter>
1616
</React.StrictMode>
1717
);
1818

0 commit comments

Comments
 (0)